Merge branch 'flagfix' into 'next'

Fix wrong flag being checked in P_ProcessTeamBase

Closes #957

See merge request STJr/SRB2!1938
This commit is contained in:
sphere 2023-02-27 20:31:10 +00:00
commit 20bfa8d96c

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);