mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 20:26:48 +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) | ||||
|     { | ||||
|         mWeatherManager->update (duration); | ||||
| 
 | ||||
|         mWorldScene->update (duration, paused); | ||||
| 
 | ||||
|         float pitch, yaw; | ||||
|  | @ -981,8 +983,6 @@ namespace MWWorld | |||
|         mRendering->getPlayerData(eyepos, pitch, yaw); | ||||
|         mPhysics->updatePlayerData(eyepos, pitch, yaw); | ||||
| 
 | ||||
|         mWeatherManager->update (duration); | ||||
| 
 | ||||
|         performUpdateSceneQueries (); | ||||
| 
 | ||||
|         updateWindowManager (); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue