mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-08 18:01:45 +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;
|
return;
|
||||||
}
|
}
|
||||||
case MT_EMERALD:
|
case MT_EMERALD:
|
||||||
if (!P_CanPickupItem(player, 0))
|
if (!P_CanPickupItem(player, 0) || P_PlayerInPain(player))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (special->threshold > 0)
|
if (special->threshold > 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue