mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Check for SPR2_SIGN, SPR2_SIGL and SPR2_TALK as well
This commit is contained in:
		
							parent
							
								
									626d39870b
								
							
						
					
					
						commit
						488386db68
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1185,12 +1185,8 @@ static void HWR_GetBlendedTexture(patch_t *patch, patch_t *blendpatch, INT32 ski
 | 
			
		|||
 | 
			
		||||
static boolean HWR_AllowModel(mobj_t *mobj)
 | 
			
		||||
{
 | 
			
		||||
	// Signpost overlay. Not needed.
 | 
			
		||||
	if (mobj->state-states == S_KART_SIGN)
 | 
			
		||||
		return false;
 | 
			
		||||
 | 
			
		||||
	// Ring Shooter face overlay, don't allow.
 | 
			
		||||
	if (mobj->sprite2 == SPR2_XTRA)
 | 
			
		||||
	// Don't allow rendering of model for these.
 | 
			
		||||
	if (mobj->sprite2 == SPR2_XTRA || mobj->sprite2 == SPR2_SIGN || mobj->sprite2 == SPR2_SIGL || mobj->sprite2 == SPR2_TALK)
 | 
			
		||||
		return false;
 | 
			
		||||
 | 
			
		||||
	// Otherwise, render the model.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue