From dffc48849c9cc021802695ae25ee172031344a25 Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 17 Jan 2024 03:00:20 -0800 Subject: [PATCH] Replay consistency: sync bumper count correctly --- src/g_demo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/g_demo.c b/src/g_demo.c index 187fea6dc..8e94c64a3 100644 --- a/src/g_demo.c +++ b/src/g_demo.c @@ -858,7 +858,7 @@ void G_WriteGhostTic(mobj_t *ghost, INT32 playernum) if (ghost->player && ( ghostext[playernum].itemtype != ghost->player->itemtype || ghostext[playernum].itemamount != ghost->player->itemamount || - ghostext[playernum].health < ghost->health + ghostext[playernum].health != ghost->health )) { ghostext[playernum].flags |= EZT_ITEMDATA; @@ -1179,7 +1179,7 @@ void G_ConsGhostTic(INT32 playernum) if (players[playernum].itemtype != ghostext[playernum].itemtype || players[playernum].itemamount != ghostext[playernum].itemamount - || testmo->health < ghostext[playernum].health) + || testmo->health != ghostext[playernum].health) { if (demosynced) CONS_Alert(CONS_WARNING, M_GetText("Demo playback has desynced (item/bumpers)!\n"));