battleprisons rename compilation repair

This commit is contained in:
toaster 2023-03-19 13:06:55 +00:00
parent 4c0077e07c
commit 7d8fe85767
4 changed files with 4 additions and 4 deletions

View file

@ -1357,7 +1357,7 @@ bool CallFunc_BreakTheCapsules(ACSVM::Thread *thread, const ACSVM::Word *argV, A
(void)argV;
(void)argC;
thread->dataStk.push(battlecapsules);
thread->dataStk.push(battleprisons);
return false;
}

View file

@ -3746,7 +3746,7 @@ static void K_drawKartMinimap(void)
workingPic = kp_capsuleminimap[(mobj->extravalue1 != 0 ? 1 : 0)];
break;
case MT_CDUFO:
if (battlecapsules) //!battleprisons
if (battleprisons)
workingPic = kp_capsuleminimap[2];
break;
default:

View file

@ -365,7 +365,7 @@ bool is_object_tracking_target(const mobj_t* mobj)
{
case MT_BATTLECAPSULE:
case MT_CDUFO:
return battlecapsules; // battleprisons
return battleprisons;
case MT_SPECIAL_UFO:
return true;

View file

@ -636,7 +636,7 @@ static void P_AddBrokenPrison(mobj_t *target, mobj_t *source)
{
(void)target;
if (!battlecapsules) // !battleprisons
if (!battleprisons)
return;
if ((gametyperules & GTR_POINTLIMIT) && (source && source->player))