mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fixed spectators taking unwarranted damage in splitscreen
This commit is contained in:
parent
02746c0a7c
commit
aff47ebd1e
1 changed files with 1 additions and 1 deletions
|
|
@ -3408,7 +3408,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Spectator handling
|
// Spectator handling
|
||||||
if (netgame)
|
if (multiplayer)
|
||||||
{
|
{
|
||||||
if (damagetype != DMG_SPECTATOR && target->player && target->player->spectator)
|
if (damagetype != DMG_SPECTATOR && target->player && target->player->spectator)
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue