mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-22 11:41:08 +00:00
- allow floats for uniform cvar defaults
This commit is contained in:
parent
9fc6d40dcf
commit
c2b35fee41
1 changed files with 2 additions and 2 deletions
|
@ -1562,9 +1562,9 @@ class GLDefsParser
|
||||||
}
|
}
|
||||||
|
|
||||||
UCVarValue val;
|
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
|
// 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)))
|
if (cvar && ((cvar->GetFlags() & (CVAR_MOD|CVAR_AUTO|CVAR_UNSETTABLE)) == (CVAR_AUTO | CVAR_UNSETTABLE)))
|
||||||
|
|
Loading…
Reference in a new issue