fix copypaste errors in new bot respawn ticccmd code
This commit is contained in:
parent
f40771dd97
commit
fe2fc49ac1
2 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ struct ticcmd_t
|
|||
{
|
||||
SINT8 turnconfirm;
|
||||
SINT8 itemconfirm;
|
||||
UINT8 respawnconfirm;
|
||||
SINT8 respawnconfirm;
|
||||
} bot;
|
||||
} ATTRPACK;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue