Anti farming: push the actual fucking code please

This commit is contained in:
AJ Martinez 2023-09-12 04:14:49 -07:00
parent 34061869c7
commit 785928c339

View file

@ -389,6 +389,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
special->flags &= ~MF_SPECIAL;
return;
case MT_RANDOMITEM:
// -Wpedantic label wackness
UINT8 cheesetype = (special->flags2 & MF2_AMBUSH) ? 2 : 1;
if (!P_CanPickupItem(player, 1))