mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +00:00
Allow the NAM9 field to be used if COUN is omitted
This commit is contained in:
parent
8c8fffc2c6
commit
254b533512
@ -30,10 +30,7 @@ namespace ESM
|
||||
esm.getHNOT(mEnabled, "ENAB");
|
||||
|
||||
if (mVersion <= MaxOldCountFormatVersion)
|
||||
{
|
||||
mRef.mCount = 1;
|
||||
esm.getHNOT(mRef.mCount, "COUN");
|
||||
}
|
||||
|
||||
mPosition = mRef.mPos;
|
||||
esm.getHNOT("POS_", mPosition.pos, mPosition.rot);
|
||||
|
Loading…
x
Reference in New Issue
Block a user