summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorMaeJong <mewiceclair@gmail.com>2017-05-04 15:14:32 +0200
committerMaeJong <mewiceclair@gmail.com>2017-05-04 15:14:32 +0200
commita05e8cbd49a17dfc4023b71da559dcb1b11d8422 (patch)
tree3f441c8eaad975261a285a9ccd0450094cd8a12f /src/game/g_main.c
parent36f8fc13c89ea751456a17be1ec4b5d2110d44c0 (diff)
Implement cvars for SM2 autobahn & outdated client messages
Remove obsolete int g_updateClientNotice Add g_outdatedClientMessage & prompt only if it's non-empty Add g_schachtmeisterAutobahnMessage (existed, was unused)
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 1ae1029..e539355 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -122,7 +122,7 @@ vmCvar_t g_popularMapsVotePercent;
vmCvar_t g_banIPs;
vmCvar_t g_filterBan;
vmCvar_t g_smoothClients;
-vmCvar_t g_clientUpgradeNotice;
+vmCvar_t g_outdatedClientMessage;
vmCvar_t pmove_fixed;
vmCvar_t pmove_msec;
vmCvar_t g_rankings;
@@ -416,7 +416,7 @@ static cvarTable_t gameCvarTable[ ] =
"Set a name by pressing Escape and choosing Options", CVAR_ARCHIVE, 0, qfalse},
{ &g_smoothClients, "g_smoothClients", "1", 0, 0, qfalse},
- { &g_clientUpgradeNotice, "g_clientUpgradeNotice", "1", 0, 0, qfalse},
+ { &g_outdatedClientMessage, "g_outdatedClientMessage", "", CVAR_ARCHIVE, 0, qfalse},
{ &pmove_fixed, "pmove_fixed", "0", CVAR_SYSTEMINFO, 0, qfalse},
{ &pmove_msec, "pmove_msec", "8", CVAR_SYSTEMINFO, 0, qfalse},