From 1aa5a6fde3d1467df581c1dfa6a296ff5dcbe066 Mon Sep 17 00:00:00 2001 From: Dan Vukelich Date: Sun, 9 Apr 2023 02:16:16 -0400 Subject: [PATCH] Add missing function call to set dates when changing a cell (eg, when loading a save file) --- apps/openmw/mwworld/worldimp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index d756d5a5b8..399108dc50 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -1014,6 +1014,8 @@ namespace MWWorld mWorldScene->changeToInteriorCell(destinationCell->getNameId(), position, adjustPlayerPos, changeEvent); addContainerScripts(getPlayerPtr(), getPlayerPtr().getCell()); mRendering->getCamera()->instantTransition(); + + mCurrentDate->setup(mGlobalVariables); } float World::getMaxActivationDistance() const