mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Allow Eggman items to be picked up by players using invulerability items
This commit is contained in:
parent
54e1444852
commit
1886115e54
1 changed files with 2 additions and 5 deletions
|
|
@ -118,10 +118,7 @@ boolean P_CanPickupItem(player_t *player, UINT8 weapon)
|
|||
// Invulnerable
|
||||
if (player->powers[pw_flashing] > 0
|
||||
|| (player->kartstuff[k_spinouttimer] > 0 && player->kartstuff[k_spinouttype] != 2)
|
||||
|| player->kartstuff[k_squishedtimer] > 0
|
||||
|| player->kartstuff[k_invincibilitytimer] > 0
|
||||
|| player->kartstuff[k_growshrinktimer] > 0
|
||||
|| player->kartstuff[k_hyudorotimer] > 0)
|
||||
|| player->kartstuff[k_squishedtimer] > 0)
|
||||
return false;
|
||||
|
||||
// Already have fake
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue