mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 19:53:53 +00:00
Merge branch 'fatstacks' into 'master'
Allow the NAM9 field to be used if COUN is omitted Closes #7836 See merge request OpenMW/openmw!3889
This commit is contained in:
commit
35f547ad7c
1 changed files with 0 additions and 3 deletions
|
@ -30,10 +30,7 @@ namespace ESM
|
||||||
esm.getHNOT(mEnabled, "ENAB");
|
esm.getHNOT(mEnabled, "ENAB");
|
||||||
|
|
||||||
if (mVersion <= MaxOldCountFormatVersion)
|
if (mVersion <= MaxOldCountFormatVersion)
|
||||||
{
|
|
||||||
mRef.mCount = 1;
|
|
||||||
esm.getHNOT(mRef.mCount, "COUN");
|
esm.getHNOT(mRef.mCount, "COUN");
|
||||||
}
|
|
||||||
|
|
||||||
mPosition = mRef.mPos;
|
mPosition = mRef.mPos;
|
||||||
esm.getHNOT("POS_", mPosition.pos, mPosition.rot);
|
esm.getHNOT("POS_", mPosition.pos, mPosition.rot);
|
||||||
|
|
Loading…
Reference in a new issue