r5878 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Feb 16 12:13:59 EST 2009
Author: div0
Date: 2009-02-16 12:13:59 -0500 (Mon, 16 Feb 2009)
New Revision: 5878
Modified:
trunk/data/qcsrc/client/sbar.qc
Log:
properly expire centerprints when scr_centertime <= 0
Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc 2009-02-15 20:30:59 UTC (rev 5877)
+++ trunk/data/qcsrc/client/sbar.qc 2009-02-16 17:13:59 UTC (rev 5878)
@@ -1535,6 +1535,9 @@
centerprint_fontsize = Sbar_GetFontsize("scr_centersize");
centerprint_expire = max(centerprint_expire, time); // if any of the returns happens, this message will fade out
+
+ if(cvar("scr_centertime") <= 0)
+ return;
if(strMessage == "")
return;
More information about the nexuiz-commits
mailing list