diff --git a/source/core/r_data/gldefs.cpp b/source/core/r_data/gldefs.cpp index c8b4534e8..149aacfa3 100644 --- a/source/core/r_data/gldefs.cpp +++ b/source/core/r_data/gldefs.cpp @@ -1562,9 +1562,9 @@ class GLDefsParser } UCVarValue val; - sc.MustGetNumber(); + sc.MustGetFloat(); - val.Float = sc.Number; + val.Float = sc.Float; // must've picked this up from an autoexec.cfg, handle accordingly if (cvar && ((cvar->GetFlags() & (CVAR_MOD|CVAR_AUTO|CVAR_UNSETTABLE)) == (CVAR_AUTO | CVAR_UNSETTABLE)))