diff --git a/src/d_ticcmd.h b/src/d_ticcmd.h index 0ed322b5a..48fd66b9d 100644 --- a/src/d_ticcmd.h +++ b/src/d_ticcmd.h @@ -78,7 +78,7 @@ struct ticcmd_t { SINT8 turnconfirm; SINT8 itemconfirm; - UINT8 respawnconfirm; + SINT8 respawnconfirm; } bot; } ATTRPACK; diff --git a/src/g_demo.c b/src/g_demo.c index 3cfada007..3646bde41 100644 --- a/src/g_demo.c +++ b/src/g_demo.c @@ -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);