mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix thunderdome cvar potentially being taken into !K_CanChangeRules contexts
This commit is contained in:
parent
8fcf835330
commit
867187c494
1 changed files with 1 additions and 3 deletions
|
|
@ -489,9 +489,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
|||
if (special->fuse) // This box is respawning, but was broken very recently (see P_FuseThink)
|
||||
{
|
||||
// What was this box broken as?
|
||||
if (cv_thunderdome.value)
|
||||
K_StartItemRoulette(player, true);
|
||||
else if (special->cvmem && !(special->flags2 & MF2_BOSSDEAD))
|
||||
if (!K_ThunderDome() && special->cvmem && !(special->flags2 & MF2_BOSSDEAD))
|
||||
K_StartItemRoulette(player, false);
|
||||
else
|
||||
K_StartItemRoulette(player, true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue