mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-11 15:40:39 +00:00
Cleanup(loadcell): Remove unused integer water flag
This commit is contained in:
parent
bb35f0366a
commit
f95cad07f2
@ -128,12 +128,10 @@ namespace ESM
|
||||
int32_t waterl;
|
||||
esm.getHT(waterl);
|
||||
mWater = static_cast<float>(waterl);
|
||||
mWaterInt = true;
|
||||
break;
|
||||
case fourCC("WHGT"):
|
||||
float waterLevel;
|
||||
esm.getHT(waterLevel);
|
||||
mWaterInt = false;
|
||||
mHasWater = true;
|
||||
if (!std::isfinite(waterLevel))
|
||||
{
|
||||
@ -316,7 +314,6 @@ namespace ESM
|
||||
mName.clear();
|
||||
mRegion = ESM::RefId();
|
||||
mWater = 0;
|
||||
mWaterInt = false;
|
||||
mMapColor = 0;
|
||||
mRefNumCounter = 0;
|
||||
|
||||
|
@ -111,7 +111,6 @@ namespace ESM
|
||||
, mRegion(ESM::RefId())
|
||||
, mHasAmbi(true)
|
||||
, mWater(0)
|
||||
, mWaterInt(false)
|
||||
, mHasWater(false)
|
||||
, mMapColor(0)
|
||||
, mRefNumCounter(0)
|
||||
@ -132,7 +131,6 @@ namespace ESM
|
||||
bool mHasAmbi;
|
||||
|
||||
float mWater; // Water level
|
||||
bool mWaterInt;
|
||||
bool mHasWater;
|
||||
int32_t mMapColor;
|
||||
// Counter for RefNums. This is only used during content file editing and has no impact on gameplay.
|
||||
|
Loading…
x
Reference in New Issue
Block a user