Skip to content

Commit

Permalink
Restoring original behavior of CG_CheckOrderPending (#274)
Browse files Browse the repository at this point in the history
In the original code, the comparison was `cgs.gametype < GT_CTF` i.e. it only applied to CTF, 1FCTF, Harv and Over. Here it's also useful for the round modes and DD/DOM.
  • Loading branch information
NeonKnightOA authored Mar 23, 2024
1 parent 8c1a8b9 commit 643bd4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/cgame/cg_newdraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void CG_SetPrintString(int type, const char *p)

void CG_CheckOrderPending(void)
{
if (CG_IsADMBasedGametype(cgs.gametype)) {
if (CG_IsADMBasedGametype(cgs.gametype) || cgs.gametype == GT_TEAM) {
return;
}
if (cgs.orderPending) {
Expand Down

0 comments on commit 643bd4d

Please sign in to comment.