1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 13:15:35 +00:00

Move fix to a more logical place

This commit is contained in:
Dan Vukelich 2023-04-09 10:11:32 -04:00
parent 1aa5a6fde3
commit 7f2acfe173
2 changed files with 2 additions and 3 deletions

View file

@ -59,7 +59,7 @@ Programmers
Cory F. Cohen (cfcohen) Cory F. Cohen (cfcohen)
Cris Mihalache (Mirceam) Cris Mihalache (Mirceam)
crussell187 crussell187
DanielVukelich Dan Vukelich (sanchezman)
darkf darkf
David Cernat (davidcernat) David Cernat (davidcernat)
Declan Millar (declan-millar) Declan Millar (declan-millar)

View file

@ -1014,8 +1014,6 @@ namespace MWWorld
mWorldScene->changeToInteriorCell(destinationCell->getNameId(), position, adjustPlayerPos, changeEvent); mWorldScene->changeToInteriorCell(destinationCell->getNameId(), position, adjustPlayerPos, changeEvent);
addContainerScripts(getPlayerPtr(), getPlayerPtr().getCell()); addContainerScripts(getPlayerPtr(), getPlayerPtr().getCell());
mRendering->getCamera()->instantTransition(); mRendering->getCamera()->instantTransition();
mCurrentDate->setup(mGlobalVariables);
} }
float World::getMaxActivationDistance() const float World::getMaxActivationDistance() const
@ -2411,6 +2409,7 @@ namespace MWWorld
void World::saveLoaded() void World::saveLoaded()
{ {
mStore.validateDynamic(); mStore.validateDynamic();
mCurrentDate->setup(mGlobalVariables);
} }
void World::setupPlayer() void World::setupPlayer()