Properly detach rocket sneakers when the player dies
This includes both death pits and spectating
This commit is contained in:
1 parent
e66eaf001e
commit
f4bf6edfe6
1 file changed
+3
-1
+3
-1
@@ -2183,7 +2183,9 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source)
|
||||
P_SetTarget(&target->target->hnext, NULL);
|
||||
}
|
||||
}
|
||||
//
|
||||
// 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_DropRocketSneaker(target->player);
|
||||
|
||||
// Let EVERYONE know what happened to a player! 01-29-2002 Tails
|
||||
if (target->player && !target->player->spectator)
|
||||
|
||||
Reference in new issue
Block a user