mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:26:43 +00:00 
			
		
		
		
	Don't play music if no playlist is set
This commit is contained in:
		
							parent
							
								
									f64bc3c7ef
								
							
						
					
					
						commit
						dfc2f3469a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -837,7 +837,7 @@ namespace MWSound | |||
|         timePassed = 0.0f; | ||||
| 
 | ||||
|         // Make sure music is still playing
 | ||||
|         if(!isMusicPlaying()) | ||||
|         if(!isMusicPlaying() && !mCurrentPlaylist.empty()) | ||||
|             startRandomTitle(); | ||||
| 
 | ||||
|         Environment env = Env_Normal; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue