mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 04:01:31 +00:00
- fix nullptr check for target in HolySpirit.Slam (fixes #2296)
This commit is contained in:
parent
c95d611c1f
commit
4850ee3776
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue