mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Lose bumpers when using the respawn command
This commit is contained in:
parent
5cebe7ab35
commit
c781780ff8
2 changed files with 2 additions and 2 deletions
|
|
@ -3370,7 +3370,7 @@ static void Got_Respawn(UINT8 **cp, INT32 playernum)
|
||||||
if (!P_IsObjectOnGround(players[respawnplayer].mo))
|
if (!P_IsObjectOnGround(players[respawnplayer].mo))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
K_DoIngameRespawn(&players[respawnplayer]);
|
P_DamageMobj(players[respawnplayer].mo, NULL, NULL, 1, DMG_DEATHPIT);
|
||||||
demo_extradata[playernum] |= DXD_RESPAWN;
|
demo_extradata[playernum] |= DXD_RESPAWN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -356,7 +356,7 @@ void G_ReadDemoExtraData(void)
|
||||||
if (players[p].mo)
|
if (players[p].mo)
|
||||||
{
|
{
|
||||||
// Is this how this should work..?
|
// Is this how this should work..?
|
||||||
K_DoIngameRespawn(&players[p]);
|
P_DamageMobj(players[p].mo, NULL, NULL, 1, DMG_DEATHPIT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (extradata & DXD_WEAPONPREF)
|
if (extradata & DXD_WEAPONPREF)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue