From 4ed7a638062879763a5ddb1b2ae1c9e1bfcd8afa Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 5 Oct 2024 05:25:25 +0200 Subject: [PATCH] Do not set hu_stopped on interpolated frame --- src/d_clisrv.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 0ff3e7ac6..9440bd832 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -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;