Wrong Perma Ring Box flag for anticheese

This commit is contained in:
AJ Martinez 2023-10-21 17:05:47 -07:00
parent 7b1c6a615c
commit bb263114f0

View file

@ -401,7 +401,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
special->flags &= ~MF_SPECIAL;
return;
case MT_RANDOMITEM: {
UINT8 cheesetype = (special->flags2 & MF2_BOSSNOTRAP) ? 2 : 1; // perma ring box
UINT8 cheesetype = (special->flags2 & MF2_BOSSDEAD) ? 2 : 1; // perma ring box
if (!P_CanPickupItem(player, 1))
return;