• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

This is a fork of Zandronum Beta for TSPG.


Commit MetaInfo

Revisionfbf70e808d6b8d67f9de21803a70c1a86cabbaae (tree)
Time2021-11-22 23:43:13
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Only append "Co-op" to the end of "Survival" on the countdown screen if survival hasn't been renamed to something else.

Change Summary

Incremental Difference

diff -r 2a0119dfb64f -r fbf70e808d6b src/g_shared/st_hud.cpp
--- a/src/g_shared/st_hud.cpp Mon Nov 22 09:38:19 2021 +1100
+++ b/src/g_shared/st_hud.cpp Mon Nov 22 09:43:13 2021 -0500
@@ -813,7 +813,7 @@
813813 text = invasion ? INVASION_GetCurrentWaveString( ) : GAMEMODE_GetCurrentName( );
814814
815815 // [AK] Append "co-op" to the end of "survival".
816- if ( survival )
816+ if (( survival ) && ( text.CompareNoCase( "Survival" ) == 0 ))
817817 text += " Co-op";
818818
819819 HUD_DrawTextCleanCentered( BigFont, ulTitleColor, ulYPos, text );