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