From 97526284f5274f081865a5f1b9f2bf192fc8fa15 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 11 Mar 2016 22:10:59 +0100 Subject: [PATCH] Allow setting the water level of an interior cell with sky (Fixes #3244) --- apps/opencs/model/world/nestedcoladapterimp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/opencs/model/world/nestedcoladapterimp.cpp b/apps/opencs/model/world/nestedcoladapterimp.cpp index 82df7bd11..1bcd6b1b4 100644 --- a/apps/opencs/model/world/nestedcoladapterimp.cpp +++ b/apps/opencs/model/world/nestedcoladapterimp.cpp @@ -915,7 +915,7 @@ namespace CSMWorld cell.mAmbi.mFogDensity : QVariant(QVariant::UserType); case 5: { - if (isInterior && !behaveLikeExterior && interiorWater) + if (isInterior && interiorWater) return cell.mWater; else return QVariant(QVariant::UserType); @@ -981,7 +981,7 @@ namespace CSMWorld } case 5: { - if (isInterior && !behaveLikeExterior && interiorWater) + if (isInterior && interiorWater) cell.mWater = value.toFloat(); else return; // return without saving