forked from mirror/openmw-tes3mp
Closes #1109: Don't reset water level when loading a plugin that does include water level records
This commit is contained in:
parent
d4aeb177f9
commit
3ea1407ed3
2 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,6 @@ void Cell::load(ESMReader &esm, bool saveContext)
|
||||||
|
|
||||||
esm.getHNT(mData, "DATA", 12);
|
esm.getHNT(mData, "DATA", 12);
|
||||||
|
|
||||||
// Water level
|
|
||||||
mWater = -1;
|
|
||||||
mNAM0 = 0;
|
mNAM0 = 0;
|
||||||
|
|
||||||
if (mData.mFlags & Interior)
|
if (mData.mFlags & Interior)
|
||||||
|
|
|
@ -77,6 +77,8 @@ struct Cell
|
||||||
float mFogDensity;
|
float mFogDensity;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Cell() : mWater(-1) {}
|
||||||
|
|
||||||
// Interior cells are indexed by this (it's the 'id'), for exterior
|
// Interior cells are indexed by this (it's the 'id'), for exterior
|
||||||
// cells it is optional.
|
// cells it is optional.
|
||||||
std::string mName;
|
std::string mName;
|
||||||
|
|
Loading…
Reference in a new issue