mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-04 00:41:34 +00:00
Add missing function call to set dates when changing a cell (eg, when loading a save file)
This commit is contained in:
parent
d899848d33
commit
1aa5a6fde3
1 changed files with 2 additions and 0 deletions
|
@ -1014,6 +1014,8 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue