forked from teamnwah/openmw-tes3coop
fixed static problem in Land recrod save function
This commit is contained in:
parent
5aea6ef80f
commit
e432ab5e8a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ void Land::LandData::save(ESMWriter &esm)
|
|||
esm.writeHNT("VNML", mNormals, sizeof(VNML));
|
||||
}
|
||||
if (mDataTypes & Land::DATA_VHGT) {
|
||||
static VHGT offsets;
|
||||
VHGT offsets;
|
||||
offsets.mHeightOffset = mHeights[0] / HEIGHT_SCALE;
|
||||
offsets.mUnk1 = mUnk1;
|
||||
offsets.mUnk2 = mUnk2;
|
||||
|
|
Loading…
Reference in a new issue