• R/O
  • SSH

zandronum-sandbox-stable: Commit


Commit MetaInfo

Revision457591ba7b0ebd8d84f30123bd0d2d6418f06b98 (tree)
Time2022-09-26 05:56:20
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed a GCC compile error.

Change Summary

Incremental Difference

diff -r 691792bd9295 -r 457591ba7b0e src/g_shared/st_hud.cpp
--- a/src/g_shared/st_hud.cpp Sun Sep 25 09:42:29 2022 -0400
+++ b/src/g_shared/st_hud.cpp Sun Sep 25 16:56:20 2022 -0400
@@ -1133,7 +1133,10 @@
11331133 else
11341134 {
11351135 // [AK] TLMS and team possession should still keep "team" in the title for consistency.
1136- text = invasion ? INVASION_GetCurrentWaveString( ) : GAMEMODE_GetCurrentName( );
1136+ if ( invasion )
1137+ text = INVASION_GetCurrentWaveString( );
1138+ else
1139+ text = GAMEMODE_GetCurrentName( );
11371140
11381141 // [AK] Append "co-op" to the end of "survival".
11391142 if (( survival ) && ( text.CompareNoCase( "Survival" ) == 0 ))
Show on old repository browser