fix bumpers on map spawn, Remove invincibility during comeback

This commit is contained in:
NepDisk 2024-10-07 21:45:15 -04:00
parent 21a92702a5
commit 3d65b9a1f8
2 changed files with 2 additions and 11 deletions

View file

@ -3382,8 +3382,6 @@ void K_HandleBumperChanges(player_t *player, UINT8 prevBumpers)
if (player->bumper > 0 && prevBumpers == 0)
{
K_DoInvincibility(player, 8 * TICRATE);
if (netgame)
{
CONS_Printf(M_GetText("%s is back in the game!\n"), player_names[player-players]);

View file

@ -10819,15 +10819,8 @@ void P_SpawnPlayer(INT32 playernum)
{
if ((leveltime < starttime) || (pcount <= 1)) // Start of the map?
{
if (leveltime > 2) // Reset those bumpers!
{
p->bumper = K_StartingBumperCount();
K_SpawnPlayerBattleBumpers(p);
}
else // temp, will get overwritten in K_BattleInit
{
p->bumper = 1;
}
p->bumper = K_StartingBumperCount();
K_SpawnPlayerBattleBumpers(p);
}
}
else if (p->bumper <= 0)