fix copypaste errors in new bot respawn ticccmd code

This commit is contained in:
NepDisk 2025-03-23 15:33:11 -04:00
parent f40771dd97
commit fe2fc49ac1
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ struct ticcmd_t
{
SINT8 turnconfirm;
SINT8 itemconfirm;
UINT8 respawnconfirm;
SINT8 respawnconfirm;
} bot;
} ATTRPACK;

View file

@ -581,7 +581,7 @@ void G_ReadDemoTiccmd(ticcmd_t *cmd, INT32 playernum)
if (botziptic & ZT_BOT_ITEM)
oldcmd[playernum].bot.itemconfirm = READSINT8(demobuf.p);
if (botziptic & ZT_BOT_RESPAWN)
oldcmd[playernum].bot.itemconfirm = READUINT32(demobuf.p);
oldcmd[playernum].bot.respawnconfirm = READSINT8(demobuf.p);
}
G_CopyTiccmd(cmd, &oldcmd[playernum], 1);