mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Cleanup(loadcell): Rename setHasWater to setHasWaterHeightSub
This commit is contained in:
parent
7f67d2e805
commit
ce2787e15e
@ -998,7 +998,7 @@ namespace CSMWorld
|
|||||||
if (isInterior && interiorWater)
|
if (isInterior && interiorWater)
|
||||||
{
|
{
|
||||||
cell.mWater = value.toFloat();
|
cell.mWater = value.toFloat();
|
||||||
cell.setHasWater(true);
|
cell.setHasWaterHeightSub(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return; // return without saving
|
return; // return without saving
|
||||||
|
@ -163,7 +163,7 @@ namespace ESM
|
|||||||
|
|
||||||
bool hasWater() const { return ((mData.mFlags & HasWater) != 0) || isExterior(); }
|
bool hasWater() const { return ((mData.mFlags & HasWater) != 0) || isExterior(); }
|
||||||
|
|
||||||
void setHasWater(bool hasWater) { mHasWaterHeightSub = hasWater; }
|
void setHasWaterHeightSub(bool hasWater) { mHasWaterHeightSub = hasWater; }
|
||||||
|
|
||||||
bool hasAmbient() const { return mHasAmbi; }
|
bool hasAmbient() const { return mHasAmbi; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user