1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:23:51 +00:00

Weather update should be before renderer update

This commit is contained in:
scrawl 2013-03-03 15:10:40 +01:00
parent ac0a23a68d
commit 11f21a1988

View file

@ -974,6 +974,8 @@ namespace MWWorld
void World::update (float duration, bool paused) void World::update (float duration, bool paused)
{ {
mWeatherManager->update (duration);
mWorldScene->update (duration, paused); mWorldScene->update (duration, paused);
float pitch, yaw; float pitch, yaw;
@ -981,8 +983,6 @@ namespace MWWorld
mRendering->getPlayerData(eyepos, pitch, yaw); mRendering->getPlayerData(eyepos, pitch, yaw);
mPhysics->updatePlayerData(eyepos, pitch, yaw); mPhysics->updatePlayerData(eyepos, pitch, yaw);
mWeatherManager->update (duration);
performUpdateSceneQueries (); performUpdateSceneQueries ();
updateWindowManager (); updateWindowManager ();