[nexuiz-commits] r8372 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Dec 5 09:39:52 EST 2009


Author: fruitiex
Date: 2009-12-05 09:39:51 -0500 (Sat, 05 Dec 2009)
New Revision: 8372

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
add cvar_or to the timer scale for compatibility


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-12-05 11:36:26 UTC (rev 8371)
+++ trunk/data/qcsrc/client/sbar.qc	2009-12-05 14:39:51 UTC (rev 8372)
@@ -1752,7 +1752,7 @@
 	topright_x = vid_conwidth;
 	
 	float scale;
-	scale = cvar("sbar_timer_scale");
+	scale = cvar_or("sbar_timer_scale", 1);
 	timelimit = getstatf(STAT_TIMELIMIT);
 	
 	timeleft = max(0, timelimit * 60 + getstatf(STAT_GAMESTARTTIME) - time);



More information about the nexuiz-commits mailing list