Lose bumpers when using the respawn command

This commit is contained in:
James R 2023-03-08 01:18:31 -08:00
parent 5cebe7ab35
commit c781780ff8
2 changed files with 2 additions and 2 deletions

View file

@ -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;
} }
} }

View file

@ -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)