Move fix to a more logical place

depth-refraction
Dan Vukelich 1 year ago
parent 1aa5a6fde3
commit 7f2acfe173

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

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

Loading…
Cancel
Save