mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Ensures the force shield's movecount is correctly set before comparing
This commit is contained in:
		
							parent
							
								
									aafc0bcb0d
								
							
						
					
					
						commit
						d8234f408b
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1404,6 +1404,7 @@ void P_SpawnShieldOrb(player_t *player) | |||
| 	if (player->powers[pw_shield] & SH_FORCE) | ||||
| 	{ | ||||
| 		//Copy and pasted from P_ShieldLook in p_mobj.c
 | ||||
| 		shieldobj->movecount = (shieldobj->target->player->powers[pw_shield] & 0xFF); | ||||
| 		if (shieldobj->movecount < 1) | ||||
| 		{ | ||||
| 			if (shieldobj->info->painstate) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 ilag
						ilag