mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +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
|
||||
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);
|
||||
#endif
|
||||
missileActor->spr.cstat &= ~CSTAT_SPRITE_BLOCK_ALL;
|
||||
|
|
Loading…
Reference in a new issue