- fix nullptr check for target in HolySpirit.Slam (fixes #2296)

This commit is contained in:
Rachael Alexanderson 2023-12-13 09:58:42 -05:00
parent c95d611c1f
commit 4850ee3776

View file

@ -346,7 +346,7 @@ class HolySpirit : Actor
{
if (thing.bShootable && thing != target)
{
if (multiplayer && !deathmatch && thing.player && target.player)
if (multiplayer && !deathmatch && thing.player && target && target.player)
{ // don't attack other co-op players
return true;
}