mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Merge branch 'queue-cup-crash-fix-please' into 'master'
Fix crash when trying to queue cup while highlighting an empty square. Closes #377 See merge request kart-krew-dev/ring-racers!71
This commit is contained in:
		
						commit
						f984ecc5d7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -525,7 +525,7 @@ void M_CupSelectHandler(INT32 choice) | ||||||
| 	{ | 	{ | ||||||
| 		M_SetMenuDelay(pid); | 		M_SetMenuDelay(pid); | ||||||
| 		 | 		 | ||||||
| 		if (cupgrid.builtgrid[CUPMENU_CURSORID] == &dummy_lostandfound) | 		if ((cupgrid.builtgrid[CUPMENU_CURSORID] == &dummy_lostandfound) || (cupgrid.builtgrid[CUPMENU_CURSORID] == NULL)) | ||||||
| 			S_StartSound(NULL, sfx_gshe7); | 			S_StartSound(NULL, sfx_gshe7); | ||||||
| 			 | 			 | ||||||
| 		else if (!M_IsCupQueueable(cupgrid.builtgrid[CUPMENU_CURSORID])) | 		else if (!M_IsCupQueueable(cupgrid.builtgrid[CUPMENU_CURSORID])) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eidolon
						Eidolon