[nexuiz-commits] r6392 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Mar 31 09:37:40 EDT 2009
Author: div0
Date: 2009-03-31 09:37:36 -0400 (Tue, 31 Mar 2009)
New Revision: 6392
Modified:
trunk/data/qcsrc/server/cl_client.qc
trunk/data/qcsrc/server/teamplay.qc
Log:
some minor centerprint fixes
Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc 2009-03-31 08:44:11 UTC (rev 6391)
+++ trunk/data/qcsrc/server/cl_client.qc 2009-03-31 13:37:36 UTC (rev 6392)
@@ -1975,7 +1975,8 @@
PutClientInServer();
if(!(self.flags & FL_NOTARGET))
bprint ("^4", self.netname, "^4 is playing now\n");
- centerprint(self,"");
+ if(!cvar("g_campaign"))
+ centerprint(self,""); // clear MOTD
return;
} else {
stuffcmd(self,"menu_showteamselect\n");
Modified: trunk/data/qcsrc/server/teamplay.qc
===================================================================
--- trunk/data/qcsrc/server/teamplay.qc 2009-03-31 08:44:11 UTC (rev 6391)
+++ trunk/data/qcsrc/server/teamplay.qc 2009-03-31 13:37:36 UTC (rev 6392)
@@ -373,7 +373,7 @@
&& !self.BUTTON_INFO)
return;
- if( !(timeoutStatus >= 1 || (time < game_starttime) ) ) { //really print the WelcomeMessage to the player every frame when timeout-seconds are shown or the game is restarted, to make sure that the shown number is accurate
+ if( !(timeoutStatus >= 1) ) { //really print the WelcomeMessage to the player every frame when timeout-seconds are shown or the game is restarted, to make sure that the shown number is accurate
if(self.welcomemessage_time > time) return;
self.welcomemessage_time = time + self.cvar_scr_centertime * 0.6;
}
More information about the nexuiz-commits
mailing list