From f642e16e4b323657ed633c02631464321c85e60e Mon Sep 17 00:00:00 2001 From: fruitiex Date: Sat, 5 Dec 2009 14:39:51 +0000 Subject: [PATCH] add cvar_or to the timer scale for compatibility git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8372 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/client/sbar.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index c4824c192..cea3be1f3 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -1752,7 +1752,7 @@ void Sbar_Timer() 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); -- 2.39.2