mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 20:53:50 +00:00
Make MODL subrecord for light records optional (Fixes #2114)
This commit is contained in:
parent
07ea352e46
commit
92ab292e18
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ namespace ESM
|
||||||
|
|
||||||
void Light::load(ESMReader &esm)
|
void Light::load(ESMReader &esm)
|
||||||
{
|
{
|
||||||
mModel = esm.getHNString("MODL");
|
mModel = esm.getHNOString("MODL");
|
||||||
mName = esm.getHNOString("FNAM");
|
mName = esm.getHNOString("FNAM");
|
||||||
mIcon = esm.getHNOString("ITEX");
|
mIcon = esm.getHNOString("ITEX");
|
||||||
assert(sizeof(mData) == 24);
|
assert(sizeof(mData) == 24);
|
||||||
|
|
Loading…
Reference in a new issue