mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't pickup emeralds if in pain state
This commit is contained in:
parent
99091036fb
commit
96eb60ee63
1 changed files with 1 additions and 1 deletions
|
|
@ -453,7 +453,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
|||
return;
|
||||
}
|
||||
case MT_EMERALD:
|
||||
if (!P_CanPickupItem(player, 0))
|
||||
if (!P_CanPickupItem(player, 0) || P_PlayerInPain(player))
|
||||
return;
|
||||
|
||||
if (special->threshold > 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue