From 84d7da1f2c010d5dbf94c49694abf88070090c49 Mon Sep 17 00:00:00 2001 From: Petr Mikheev Date: Mon, 29 May 2023 22:39:26 +0200 Subject: [PATCH] Ignore per-cell water height in exterior ESM4::Cell --- apps/openmw/mwworld/cell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwworld/cell.cpp b/apps/openmw/mwworld/cell.cpp index 92b6ee9fc9..f4a57b87c9 100644 --- a/apps/openmw/mwworld/cell.cpp +++ b/apps/openmw/mwworld/cell.cpp @@ -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(); const ESM4::World* cellWorld = worldStore.find(mParent);