From 856bc8ee8cab2b097c15bf9c9266ecfaf6ea9a06 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 31 Dec 2019 15:25:26 -0500 Subject: [PATCH] - silence double to float warning in gameconfigfile.cpp --- src/gameconfigfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp index 17d361a1e..940458b55 100644 --- a/src/gameconfigfile.cpp +++ b/src/gameconfigfile.cpp @@ -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;