1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-29 17:06:43 +00:00

fixed static problem in Land recrod save function

This commit is contained in:
Marc Zinnschlag 2013-11-28 11:51:21 +01:00
parent 5aea6ef80f
commit e432ab5e8a

View file

@ -14,7 +14,7 @@ void Land::LandData::save(ESMWriter &esm)
esm.writeHNT("VNML", mNormals, sizeof(VNML)); esm.writeHNT("VNML", mNormals, sizeof(VNML));
} }
if (mDataTypes & Land::DATA_VHGT) { if (mDataTypes & Land::DATA_VHGT) {
static VHGT offsets; VHGT offsets;
offsets.mHeightOffset = mHeights[0] / HEIGHT_SCALE; offsets.mHeightOffset = mHeights[0] / HEIGHT_SCALE;
offsets.mUnk1 = mUnk1; offsets.mUnk1 = mUnk1;
offsets.mUnk2 = mUnk2; offsets.mUnk2 = mUnk2;