mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 13:50:48 +00:00
- fix nullptr crash
This commit is contained in:
parent
769796800d
commit
cb3662dc24
1 changed files with 1 additions and 1 deletions
|
@ -6077,7 +6077,7 @@ int P_RadiusAttack(AActor *bombspot, AActor *bombsource, int bombdamage, int bom
|
|||
continue;
|
||||
}
|
||||
|
||||
if (thing != bombsource && bombsource->player && P_ShouldPassThroughPlayer(bombsource, thing))
|
||||
if (bombsource && thing != bombsource && bombsource->player && P_ShouldPassThroughPlayer(bombsource, thing))
|
||||
continue;
|
||||
|
||||
targets.Push(thing);
|
||||
|
|
Loading…
Reference in a new issue