mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-25 17:20:57 +00:00
- Blood: Add missing actorHit
nullptr test in actImpactMissile()
.
This commit is contained in:
parent
87cace6e6c
commit
dcd006d34b
1 changed files with 1 additions and 1 deletions
|
@ -4083,7 +4083,7 @@ static void actImpactMissile(DBloodActor* missileActor, int hitCode)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NOONE_EXTENSIONS
|
#ifdef NOONE_EXTENSIONS
|
||||||
if (gModernMap && actorHit->hasX() && actorHit->xspr.state != actorHit->xspr.restState && actorHit->xspr.Impact)
|
if (gModernMap && actorHit && actorHit->hasX() && actorHit->xspr.state != actorHit->xspr.restState && actorHit->xspr.Impact)
|
||||||
trTriggerSprite(actorHit, kCmdSpriteImpact);
|
trTriggerSprite(actorHit, kCmdSpriteImpact);
|
||||||
#endif
|
#endif
|
||||||
missileActor->spr.cstat &= ~CSTAT_SPRITE_BLOCK_ALL;
|
missileActor->spr.cstat &= ~CSTAT_SPRITE_BLOCK_ALL;
|
||||||
|
|
Loading…
Reference in a new issue