mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-27 16:56:06 +00:00
Don't pickup emeralds if in pain state
This commit is contained in:
parent
82cf995e35
commit
4874c90f8d
1 changed files with 1 additions and 1 deletions
|
|
@ -454,7 +454,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