r5794 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Feb 7 05:01:18 EST 2009


Author: div0
Date: 2009-02-07 05:01:02 -0500 (Sat, 07 Feb 2009)
New Revision: 5794

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
fix the race timer again :)


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-02-07 09:59:05 UTC (rev 5793)
+++ trunk/data/qcsrc/client/sbar.qc	2009-02-07 10:01:02 UTC (rev 5794)
@@ -1270,7 +1270,7 @@
 			if(forcetime != "")
 			{
 				a = bound(0, (time - race_checkpointtime) / 0.5, 1);
-				drawstring_expanding(m - '0 16 0' - '16 0 0' * stringwidth(forcetime, FALSE), forcetime, '32 32 0', '1 1 1', sbar_alpha_fg, 0, a);
+				drawstring_expanding(m - '16 0 0' * stringwidth(forcetime, FALSE), forcetime, '32 32 0', '1 1 1', sbar_alpha_fg, 0, a);
 				a = 1 - a;
 			}
 			else
@@ -1279,7 +1279,7 @@
 			if(race_laptime)
 			{
 				s = mmsss(10*(time - race_laptime));
-				drawstring(m - '0 0 0' - '16 0 0' * stringwidth(s, FALSE), s, '32 32 0', '1 1 1', sbar_alpha_fg * a, 0);
+				drawstring(m - '16 0 0' * stringwidth(s, FALSE), s, '32 32 0', '1 1 1', sbar_alpha_fg * a, 0);
 			}
 		}
 		else




More information about the nexuiz-commits mailing list