mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
Ignore per-cell water height in exterior ESM4::Cell
This commit is contained in:
parent
5cb4c66266
commit
84d7da1f2c
@ -30,7 +30,7 @@ namespace MWWorld
|
||||
.mFogDensity = 1.f,}
|
||||
,mWaterHeight(cell.mWaterHeight)
|
||||
{
|
||||
if (isExterior() && mWaterHeight == ESM4::Cell::sInvalidWaterLevel)
|
||||
if (isExterior())
|
||||
{
|
||||
auto& worldStore = MWBase::Environment::get().getESMStore()->get<ESM4::World>();
|
||||
const ESM4::World* cellWorld = worldStore.find(mParent);
|
||||
|
Loading…
Reference in New Issue
Block a user