mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-24 04:43:49 +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
@ -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…
x
Reference in New Issue
Block a user