Closes #1109: Don't reset water level when loading a plugin that does include water level records

pull/37/head
scrawl 11 years ago
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…
Cancel
Save