1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:59:54 +00:00

Add missing function call to set dates when changing a cell (eg, when loading a save file)

This commit is contained in:
Dan Vukelich 2023-04-09 02:16:16 -04:00
parent d899848d33
commit 1aa5a6fde3

View file

@ -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