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

This commit is contained in:
scrawl 2014-11-09 04:50:54 +01:00
parent 07ea352e46
commit 92ab292e18

View file

@ -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);