mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 00:45:36 +00:00
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);
|
||||
|
||||
// Water level
|
||||
mWater = -1;
|
||||
mNAM0 = 0;
|
||||
|
||||
if (mData.mFlags & Interior)
|
||||
|
|
|
@ -77,6 +77,8 @@ struct Cell
|
|||
float mFogDensity;
|
||||
};
|
||||
|
||||
Cell() : mWater(-1) {}
|
||||
|
||||
// Interior cells are indexed by this (it's the 'id'), for exterior
|
||||
// cells it is optional.
|
||||
std::string mName;
|
||||
|
|
Loading…
Reference in a new issue