Keep record attack replays base-game-compatible for now

This commit is contained in:
fickleheart 2019-03-19 23:02:17 -05:00
parent 438cabcd24
commit d676dd5a1e
1 changed files with 5 additions and 3 deletions

View File

@ -5337,9 +5337,11 @@ void G_WriteGhostTic(mobj_t *ghost, INT32 playernum)
if (ghost->player) if (ghost->player)
{ {
if ( if (
ghostext[playernum].kartitem != ghost->player->kartstuff[k_itemtype] || !modeattacking && ( //@TODO: This is a temporary check to keep netreplays EXE record attack replays compatible with base Kart.
ghostext[playernum].kartamount != ghost->player->kartstuff[k_itemamount] || ghostext[playernum].kartitem != ghost->player->kartstuff[k_itemtype] ||
ghostext[playernum].kartbumpers != ghost->player->kartstuff[k_bumper] ghostext[playernum].kartamount != ghost->player->kartstuff[k_itemamount] ||
ghostext[playernum].kartbumpers != ghost->player->kartstuff[k_bumper]
)
) )
{ {
ghostext[playernum].flags |= EZT_KART; ghostext[playernum].flags |= EZT_KART;