mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Fix RNG sync when in attract mode
P_ResetLevelMusic is not called during attract mode to advance the MUSICSELECT RNG Resulting a warning (although harmless) about playback sync
This commit is contained in:
		
							parent
							
								
									5ffe957676
								
							
						
					
					
						commit
						e7f2afdcb2
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -8460,6 +8460,10 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
 | 
				
			||||||
		if (demo.attract)
 | 
							if (demo.attract)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			; // Leave the music alone! We're already playing what we want!
 | 
								; // Leave the music alone! We're already playing what we want!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								// Pull from RNG even though music will never change
 | 
				
			||||||
 | 
								// To silence playback has desynced warning
 | 
				
			||||||
 | 
								P_Random(PR_MUSICSELECT);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		else if (K_PodiumSequence())
 | 
							else if (K_PodiumSequence())
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue