Do not set hu_stopped on interpolated frame

This commit is contained in:
Alug committed 2024-10-05 05:25:25 +02:00
1 parent 4d56c1559f
commit 4ed7a63806
1 file changed
+9 -6
+9 -6
View File
@@ -6284,19 +6284,21 @@ boolean TryRunTics(tic_t realtics)
}
#endif
if (neededtic > gametic)
ticking = neededtic > gametic;
if (ticking)
{
hu_stopped = false;
if (realtics)
hu_stopped = false;
}
if (player_joining)
{
hu_stopped = true;
if (realtics)
hu_stopped = true;
return false;
}
ticking = neededtic > gametic;
if (ticking)
{
// run the count * tics
@@ -6327,7 +6329,8 @@ boolean TryRunTics(tic_t realtics)
}
else
{
hu_stopped = true;
if (realtics)
hu_stopped = true;
}
return ticking;