- silence double to float warning in gameconfigfile.cpp

This commit is contained in:
Rachael Alexanderson 2019-12-31 15:25:26 -05:00
parent 5389d8ad1a
commit 856bc8ee8c

View file

@ -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;