player death too
This commit is contained in:
parent
32fbacd51f
commit
6aa091d019
2 changed files with 3 additions and 1 deletions
|
|
@ -1850,7 +1850,6 @@ static void K_DoHyudoroSteal(player_t *player)
|
|||
K_DisableSeekingReticule(player);
|
||||
K_UnsetItemOut(&players[stealplayer]);
|
||||
|
||||
|
||||
if (P_IsDisplayPlayer(&players[stealplayer]) && !r_splitscreen)
|
||||
S_StartSound(NULL, sfx_s3k92);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1422,7 +1422,10 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
|
|||
}
|
||||
// Above block does not clean up rocket sneakers when a player dies, so we need to do it here target->target is null when using rocket sneakers
|
||||
if (target->player)
|
||||
{
|
||||
K_DisableSeekingReticule(target->player);
|
||||
K_DropRocketSneaker(target->player);
|
||||
}
|
||||
|
||||
// Let EVERYONE know what happened to a player! 01-29-2002 Tails
|
||||
if (target->player && !target->player->spectator)
|
||||
|
|
|
|||
Loading…
Reference in a new issue