Make MODL subrecord for light records optional (Fixes #2114)

loadfix
scrawl 10 years ago
parent 07ea352e46
commit 92ab292e18

@ -10,7 +10,7 @@ namespace ESM
void Light::load(ESMReader &esm)
{
mModel = esm.getHNString("MODL");
mModel = esm.getHNOString("MODL");
mName = esm.getHNOString("FNAM");
mIcon = esm.getHNOString("ITEX");
assert(sizeof(mData) == 24);

Loading…
Cancel
Save