mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Wrong Perma Ring Box flag for anticheese
This commit is contained in:
parent
7b1c6a615c
commit
bb263114f0
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,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: {
|
||||||
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))
|
if (!P_CanPickupItem(player, 1))
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue