diff --git a/source/common/startscreen/startscreen.cpp b/source/common/startscreen/startscreen.cpp index 56afb59b46..65d279bec0 100644 --- a/source/common/startscreen/startscreen.cpp +++ b/source/common/startscreen/startscreen.cpp @@ -692,8 +692,8 @@ void FStartScreen::Render(bool force) twod->OnFrameDone(); } auto newtime = I_msTime(); - if ((newtime - nowtime) * 2.0 > minwaittime) // slow down drawing the start screen if we're on a slow GPU! - minwaittime = (newtime - nowtime) * 2.0; + if ((newtime - nowtime) * 2 > minwaittime) // slow down drawing the start screen if we're on a slow GPU! + minwaittime = (newtime - nowtime) * 2; } FImageSource* CreateStartScreenTexture(FBitmap& srcdata);