mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- silence double to float warning in gameconfigfile.cpp
This commit is contained in:
parent
5389d8ad1a
commit
856bc8ee8c
1 changed files with 2 additions and 2 deletions
|
@ -536,9 +536,9 @@ void FGameConfigFile::DoGlobalSetup ()
|
||||||
{
|
{
|
||||||
UCVarValue v = var->GetGenericRep(CVAR_Bool);
|
UCVarValue v = var->GetGenericRep(CVAR_Bool);
|
||||||
if (v.Bool)
|
if (v.Bool)
|
||||||
vid_scale_custompixelaspect = 1.2;
|
vid_scale_custompixelaspect = 1.2f;
|
||||||
else
|
else
|
||||||
vid_scale_custompixelaspect = 1.0;
|
vid_scale_custompixelaspect = 1.0f;
|
||||||
}
|
}
|
||||||
var = FindCVar("vid_scalemode", NULL);
|
var = FindCVar("vid_scalemode", NULL);
|
||||||
UCVarValue newvalue;
|
UCVarValue newvalue;
|
||||||
|
|
Loading…
Reference in a new issue