Committing this change as I'm about to dive into save/load code

But I can't remember what this change did and whether it worked lol (probably an attempted bugfix for low-ping simulations breaking)

#usefulcommitmessages
This commit is contained in:
Louis authored and Ashnal committed 2020-02-17 01:38:18 -05:00
1 parent 9930675c93
commit 6a4dc84a1f
1 file changed
+2 -2
+2 -2
View File
@@ -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;