mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-16 16:51:08 +00:00
add missing null check
This commit is contained in:
parent
6975b95402
commit
b0b3f00d18
1 changed files with 1 additions and 1 deletions
|
@ -1930,7 +1930,7 @@ static void actImpactMissile(DBloodActor* missileActor, int hitCode)
|
|||
|
||||
DUDEINFO* pDudeInfo = nullptr;
|
||||
bool pIsThing = false;
|
||||
int nThingDamage = actorHit->dmgControl[kDamageBurn];
|
||||
int nThingDamage = actorHit? actorHit->dmgControl[kDamageBurn] : 0;
|
||||
|
||||
if (hitCode == 3 && actorHit)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue