mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Write respawn command usage to replays
This commit is contained in:
parent
5f0fc3f681
commit
63dd29564e
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…
Add table
Reference in a new issue