mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 22:19:54 +00:00
a2c42ab5a2
esm_reader.hpp loadacti.hpp loadalch.hpp loadappa.hpp loadarmo.hpp loadbody.hpp loadbook.hpp loadbsgn.hpp loadcell.hpp loadclas.hpp loadclot.hpp loadland.hpp Updated code style in defs.hpp
14 lines
321 B
C++
14 lines
321 B
C++
#include "loadalch.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
void Potion::load(ESMReader &esm)
|
|
{
|
|
model = esm.getHNString("MODL");
|
|
icon = esm.getHNOString("TEXT"); // not ITEX here for some reason
|
|
script = esm.getHNOString("SCRI");
|
|
name = esm.getHNOString("FNAM");
|
|
esm.getHNT(data, "ALDT", 12);
|
|
effects.load(esm);
|
|
}
|
|
}
|