mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-11 02:23:09 +00:00
Replay consistency: sync bumper count correctly
This commit is contained in:
parent
3aace4f777
commit
dffc48849c
1 changed files with 2 additions and 2 deletions
|
|
@ -858,7 +858,7 @@ void G_WriteGhostTic(mobj_t *ghost, INT32 playernum)
|
||||||
if (ghost->player && (
|
if (ghost->player && (
|
||||||
ghostext[playernum].itemtype != ghost->player->itemtype ||
|
ghostext[playernum].itemtype != ghost->player->itemtype ||
|
||||||
ghostext[playernum].itemamount != ghost->player->itemamount ||
|
ghostext[playernum].itemamount != ghost->player->itemamount ||
|
||||||
ghostext[playernum].health < ghost->health
|
ghostext[playernum].health != ghost->health
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
ghostext[playernum].flags |= EZT_ITEMDATA;
|
ghostext[playernum].flags |= EZT_ITEMDATA;
|
||||||
|
|
@ -1179,7 +1179,7 @@ void G_ConsGhostTic(INT32 playernum)
|
||||||
|
|
||||||
if (players[playernum].itemtype != ghostext[playernum].itemtype
|
if (players[playernum].itemtype != ghostext[playernum].itemtype
|
||||||
|| players[playernum].itemamount != ghostext[playernum].itemamount
|
|| players[playernum].itemamount != ghostext[playernum].itemamount
|
||||||
|| testmo->health < ghostext[playernum].health)
|
|| testmo->health != ghostext[playernum].health)
|
||||||
{
|
{
|
||||||
if (demosynced)
|
if (demosynced)
|
||||||
CONS_Alert(CONS_WARNING, M_GetText("Demo playback has desynced (item/bumpers)!\n"));
|
CONS_Alert(CONS_WARNING, M_GetText("Demo playback has desynced (item/bumpers)!\n"));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue