diff --git a/source/games/duke/src/gameloop.cpp b/source/games/duke/src/gameloop.cpp index f08c30fa2..859913feb 100644 --- a/source/games/duke/src/gameloop.cpp +++ b/source/games/duke/src/gameloop.cpp @@ -310,7 +310,6 @@ bool GameTicker() C_RunDelayedCommands(); - char gameUpdate = false; gameupdatetime.Reset(); gameupdatetime.Clock(); @@ -343,8 +342,8 @@ bool GameTicker() { ototalclock = totalclock - 1; } + int const smoothRatio = calc_smoothratio(totalclock, ototalclock); - gameUpdate = true; gameupdatetime.Unclock(); if (ps[myconnectindex].gm & (MODE_EOL | MODE_RESTART)) @@ -357,8 +356,6 @@ bool GameTicker() GetInput(); } - int const smoothRatio = calc_smoothratio(totalclock, ototalclock); - drawtime.Reset(); drawtime.Clock(); displayrooms(screenpeek, smoothRatio);