Write respawn command usage to replays

This commit is contained in:
fickleheart 2019-01-27 19:30:20 -06:00
parent f7e12165ba
commit d05a3a59c4
2 changed files with 1 additions and 2 deletions

View File

@ -2536,6 +2536,7 @@ static void Got_Respawn(UINT8 **cp, INT32 playernum)
if (players[respawnplayer].mo)
P_DamageMobj(players[respawnplayer].mo, NULL, NULL, 10000);
demo_extradata[playernum] |= DXD_RESPAWN;
}
/** Deals with an ::XD_RANDOMSEED message in a netgame.

View File

@ -4577,7 +4577,6 @@ void G_ReadDemoExtraData(void)
}
if (extradata & DXD_SKIN)
{
CONS_Printf("change skin\n");
// Skin
M_Memcpy(name, demo_p, 16);
demo_p += 16;
@ -4585,7 +4584,6 @@ void G_ReadDemoExtraData(void)
}
if (extradata & DXD_COLOR)
{
CONS_Printf("change color\n");
// Color
M_Memcpy(name, demo_p, 16);
demo_p += 16;