Fixed spectators taking unwarranted damage in splitscreen

This commit is contained in:
lachwright 2019-09-25 17:13:03 +08:00
parent 09868d2999
commit 68ee7a6658

View file

@ -3408,7 +3408,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
return false;
// Spectator handling
if (netgame)
if (multiplayer)
{
if (damagetype != DMG_SPECTATOR && target->player && target->player->spectator)
return false;