Fix wrong flag being checked in P_ProcessTeamBase

This commit is contained in:
MascaraSnake 2023-02-25 15:43:51 +01:00
parent 707860815b
commit bb9e7045c5

View file

@ -4653,7 +4653,7 @@ static void P_ProcessTeamBase(player_t *player, boolean redteam)
// Make sure the team still has their own
// flag at their base so they can score.
if (!P_IsFlagAtBase(redteam ? MT_BLUEFLAG : MT_REDFLAG))
if (!P_IsFlagAtBase(redteam ? MT_REDFLAG : MT_BLUEFLAG))
return;
HU_SetCEchoFlags(V_AUTOFADEOUT|V_ALLOWLOWERCASE);