Don't interpolate during net lag

This commit is contained in:
Eidolon 2022-05-17 19:57:31 -05:00
parent 11f97049b1
commit 2c36a8cefe
2 changed files with 3 additions and 3 deletions

View file

@ -520,12 +520,12 @@ extern UINT8 hu_redownloadinggamestate;
extern UINT8 adminpassmd5[16]; extern UINT8 adminpassmd5[16];
extern boolean adminpasswordset; extern boolean adminpasswordset;
extern boolean hu_stopped;
// //
// SRB2Kart // SRB2Kart
// //
extern boolean hu_stopped;
typedef struct rewind_s { typedef struct rewind_s {
UINT8 savebuffer[(768*1024)]; UINT8 savebuffer[(768*1024)];
tic_t leveltime; tic_t leveltime;

View file

@ -828,7 +828,7 @@ void D_SRB2Loop(void)
{ {
renderdeltatics = FLOAT_TO_FIXED(deltatics); renderdeltatics = FLOAT_TO_FIXED(deltatics);
if (!(paused || P_AutoPause())) if (!(paused || P_AutoPause()) && !hu_stopped)
{ {
rendertimefrac = g_time.timefrac; rendertimefrac = g_time.timefrac;
} }