mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-25 06:51:09 +00:00
Merge branch 'fix-cheese' into 'master'
Fix perma ring box anticheese See merge request KartKrew/Kart!1572
This commit is contained in:
commit
9c585e35de
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,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_AMBUSH) ? 2 : 1;
|
||||
UINT8 cheesetype = (special->flags2 & MF2_BOSSDEAD) ? 2 : 1; // perma ring box
|
||||
|
||||
if (!P_CanPickupItem(player, 1))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue