diff --git a/src/d_clisrv.c b/src/d_clisrv.c index dc44d9a9f..66f42f230 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -5664,7 +5664,7 @@ static void RunSimulations() } // simulate the rest o da future - int numToSimulate = targetSimTic - simtic; + int numToSimulate = targetSimTic - (int)simtic; for (int i = 0; i < numToSimulate; i++) { // control other players (just use their previous control for now) @@ -5713,7 +5713,7 @@ static void RunSimulations() } } - if (simtic != targetSimTic) + if ((int)simtic < targetSimTic) { rendergametic = gametic; simtic = targetSimTic;