From dcd447802882df23e783389f197a45ec86e70036 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Fri, 7 Sep 2018 08:37:22 +0300 Subject: [PATCH] [Client] Always stop sending weather updates when moving to an interior --- apps/openmw/mwworld/weather.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/openmw/mwworld/weather.cpp b/apps/openmw/mwworld/weather.cpp index ae2454647..e6cb4a00e 100644 --- a/apps/openmw/mwworld/weather.cpp +++ b/apps/openmw/mwworld/weather.cpp @@ -684,6 +684,17 @@ void WeatherManager::playerTeleported(const std::string& playerRegion, bool isEx mCurrentRegion = playerRegion; forceWeather(it->second.getWeather()); } + /* + Start of tes3mp addition + + There's no scenario where we want our weather creation ability to be true in + an interior, so set it to false + */ + else if (!isExterior) + setWeatherCreationState(false); + /* + End of tes3mp addition + */ } }