]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Get rid of welcome_message_time cvar. Only annoying to track down.
authorRudolf Polzer <divverent@xonotic.org>
Mon, 23 Sep 2013 10:11:44 +0000 (12:11 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 23 Sep 2013 10:12:53 +0000 (12:12 +0200)
This made the MOTD useless. Users can always use the i key to hide the
MOTD, so this shouldn't be a big issue.

defaultXonotic.cfg
qcsrc/server/autocvars.qh
qcsrc/server/cl_client.qc
qcsrc/server/g_world.qc

index 28c1af69dadf7a009b3da3fe094d7116640ff7a9..6cd876b4b59f19c21af33cc30d50759401411b5c 100644 (file)
@@ -428,8 +428,6 @@ bind f7 menu_showsandboxtools
 set g_playerclip_collisions 1 "0 = disable collision testing against playerclips, might be useful on some defrag maps"
 set g_botclip_collisions 1 "0 = disable collision testing against botclips, might be useful on some defrag maps"
 
-set welcome_message_time 8
-
 set g_grappling_hook 0 "let players spawn with the grappling hook which allows them to pull themselves up"
 
 set g_spawn_alloweffects 1 "allow clients to enable spawn point and event effects such as particles and sounds, see cl_spawn_ cvars for more info"
index 711d9143600eff8956d57084845fc784bd61b6a0..759aea6add8832d27b88c9cb413ef08f70b65ae9 100644 (file)
@@ -1204,7 +1204,6 @@ float autocvar_timelimit_overtimes;
 float autocvar_timelimit_suddendeath;
 #define autocvar_utf8_enable cvar("utf8_enable")
 float autocvar_waypoint_benchmark;
-float autocvar_welcome_message_time;
 float autocvar_sv_gameplayfix_gravityunaffectedbyticrate;
 float autocvar_g_trueaim_minrange;
 float autocvar_g_debug_defaultsounds;
index 897e75663222288ded40b364111c0f0ea2253319..fac4314ca6e7b53c577b1182228f3ca612bc614e 100644 (file)
@@ -2045,7 +2045,7 @@ void PrintWelcomeMessage()
        {
                if(self.BUTTON_INFO) // BUTTON_INFO hides initial MOTD
                        self.motd_actived_time = -2; // wait until BUTTON_INFO gets released
-               else if(self.motd_actived_time == -2 || IS_PLAYER(self) || time - self.jointime > autocvar_welcome_message_time)
+               else if(self.motd_actived_time == -2 || IS_PLAYER(self))
                {
                        // instanctly hide MOTD
                        self.motd_actived_time = 0;
index d654b91d53f0405ab82f58cf7da6a070a512a9ca..8557e38c4447210ea0421a0edbd9686a3e017343 100644 (file)
@@ -323,7 +323,6 @@ void cvar_changes_init()
                BADCVAR("sv_fraginfo");
                BADCVAR("sv_timeout");
                BADPREFIX("sv_timeout_");
-               BADCVAR("welcome_message_time");
                BADPREFIX("crypto_");
                BADPREFIX("g_chat_");
                BADPREFIX("g_ctf_captimerecord_");