mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Anti farming: push the actual fucking code please
This commit is contained in:
parent
34061869c7
commit
785928c339
1 changed files with 1 additions and 0 deletions
|
|
@ -389,6 +389,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
||||||
special->flags &= ~MF_SPECIAL;
|
special->flags &= ~MF_SPECIAL;
|
||||||
return;
|
return;
|
||||||
case MT_RANDOMITEM:
|
case MT_RANDOMITEM:
|
||||||
|
// -Wpedantic label wackness
|
||||||
UINT8 cheesetype = (special->flags2 & MF2_AMBUSH) ? 2 : 1;
|
UINT8 cheesetype = (special->flags2 & MF2_AMBUSH) ? 2 : 1;
|
||||||
|
|
||||||
if (!P_CanPickupItem(player, 1))
|
if (!P_CanPickupItem(player, 1))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue