mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-respawn-explosion' into 'master'
Let last-place explosion kill respawning player Closes #507 See merge request KartKrew/Kart!1824
This commit is contained in:
commit
6d641f8be8
1 changed files with 2 additions and 1 deletions
|
|
@ -2637,7 +2637,8 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source,
|
|||
}
|
||||
else
|
||||
{
|
||||
if (player->respawn.state != RESPAWNST_NONE)
|
||||
// DMG_TIMEOVER: player explosion
|
||||
if (player->respawn.state != RESPAWNST_NONE && type != DMG_TIMEOVER)
|
||||
{
|
||||
K_DoInstashield(player);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue