mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:53:50 +00:00
Also update local map when paused, to make it update properly when teleporting via GUI/console
This commit is contained in:
parent
7428511ea0
commit
54a893994a
1 changed files with 4 additions and 4 deletions
|
@ -380,6 +380,10 @@ void RenderingManager::update (float duration, bool paused)
|
|||
|
||||
mCamera->update(duration, paused);
|
||||
|
||||
Ogre::SceneNode *node = data.getBaseNode();
|
||||
Ogre::Quaternion orient = node->_getDerivedOrientation();
|
||||
mLocalMap->updatePlayer(playerPos, orient);
|
||||
|
||||
if(paused)
|
||||
return;
|
||||
|
||||
|
@ -393,10 +397,6 @@ void RenderingManager::update (float duration, bool paused)
|
|||
|
||||
mSkyManager->setGlare(mOcclusionQuery->getSunVisibility());
|
||||
|
||||
Ogre::SceneNode *node = data.getBaseNode();
|
||||
Ogre::Quaternion orient = node->_getDerivedOrientation();
|
||||
|
||||
mLocalMap->updatePlayer(playerPos, orient);
|
||||
|
||||
mWater->updateUnderwater(world->isUnderwater(player.getCell(), cam));
|
||||
|
||||
|
|
Loading…
Reference in a new issue