mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +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 (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
|
{ // don't attack other co-op players
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue