mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-16 14:41:08 +00:00
Write respawn command usage to replays
This commit is contained in:
parent
f7e12165ba
commit
d05a3a59c4
2 changed files with 1 additions and 2 deletions
|
@ -2536,6 +2536,7 @@ static void Got_Respawn(UINT8 **cp, INT32 playernum)
|
||||||
|
|
||||||
if (players[respawnplayer].mo)
|
if (players[respawnplayer].mo)
|
||||||
P_DamageMobj(players[respawnplayer].mo, NULL, NULL, 10000);
|
P_DamageMobj(players[respawnplayer].mo, NULL, NULL, 10000);
|
||||||
|
demo_extradata[playernum] |= DXD_RESPAWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Deals with an ::XD_RANDOMSEED message in a netgame.
|
/** Deals with an ::XD_RANDOMSEED message in a netgame.
|
||||||
|
|
|
@ -4577,7 +4577,6 @@ void G_ReadDemoExtraData(void)
|
||||||
}
|
}
|
||||||
if (extradata & DXD_SKIN)
|
if (extradata & DXD_SKIN)
|
||||||
{
|
{
|
||||||
CONS_Printf("change skin\n");
|
|
||||||
// Skin
|
// Skin
|
||||||
M_Memcpy(name, demo_p, 16);
|
M_Memcpy(name, demo_p, 16);
|
||||||
demo_p += 16;
|
demo_p += 16;
|
||||||
|
@ -4585,7 +4584,6 @@ void G_ReadDemoExtraData(void)
|
||||||
}
|
}
|
||||||
if (extradata & DXD_COLOR)
|
if (extradata & DXD_COLOR)
|
||||||
{
|
{
|
||||||
CONS_Printf("change color\n");
|
|
||||||
// Color
|
// Color
|
||||||
M_Memcpy(name, demo_p, 16);
|
M_Memcpy(name, demo_p, 16);
|
||||||
demo_p += 16;
|
demo_p += 16;
|
||||||
|
|
Loading…
Reference in a new issue