Skip to content

Commit

Permalink
- silence double to float warning in gameconfigfile.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Dec 31, 2019
1 parent 5389d8a commit 856bc8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gameconfigfile.cpp
Expand Up @@ -536,9 +536,9 @@ void FGameConfigFile::DoGlobalSetup ()
{
UCVarValue v = var->GetGenericRep(CVAR_Bool);
if (v.Bool)
vid_scale_custompixelaspect = 1.2;
vid_scale_custompixelaspect = 1.2f;
else
vid_scale_custompixelaspect = 1.0;
vid_scale_custompixelaspect = 1.0f;
}
var = FindCVar("vid_scalemode", NULL);
UCVarValue newvalue;
Expand Down

0 comments on commit 856bc8e

Please sign in to comment.