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:
parent
ac0a23a68d
commit
11f21a1988
1 changed files with 2 additions and 2 deletions
|
@ -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 ();
|
||||||
|
|
Loading…
Reference in a new issue