r5890 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 17 14:28:38 EST 2009


Author: div0
Date: 2009-02-17 14:28:38 -0500 (Tue, 17 Feb 2009)
New Revision: 5890

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
fix centerprint bug


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-02-17 16:41:11 UTC (rev 5889)
+++ trunk/data/qcsrc/client/sbar.qc	2009-02-17 19:28:38 UTC (rev 5890)
@@ -1534,7 +1534,7 @@
 
 	centerprint_fontsize = Sbar_GetFontsize("scr_centersize");
 
-	centerprint_expire = max(centerprint_expire, time); // if any of the returns happens, this message will fade out
+	centerprint_expire = min(centerprint_expire, time); // if any of the returns happens, this message will fade out
 
 	if(cvar("scr_centertime") <= 0)
 		return;




More information about the nexuiz-commits mailing list