Patches #434 from terencehill
authortzork <tzork@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Tue, 11 Aug 2009 14:49:25 +0000 (14:49 +0000)
committertzork <tzork@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Tue, 11 Aug 2009 14:49:25 +0000 (14:49 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@7425 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/client/miscfunctions.qc

index 0827311..9001c66 100644 (file)
@@ -208,7 +208,7 @@ vector Sbar_GetFontsize(string cvarname)
 float Sbar_GetWidth(float teamcolumnwidth)
 {
        float f;
-       f = stof(cvar_string("sbar_width"));
+       f = cvar("sbar_width");
        if(f == 0)
                f = 640;
        if(f < 320)