- The crash state must still be activatable by actors that have MF_CORPSE but not MF6_KILLED.

SVN r2050 (trunk)
This commit is contained in:
Christoph Oelckers 2009-12-25 22:57:42 +00:00
parent abd9c62983
commit 07dba2b4fe

View file

@ -1206,7 +1206,7 @@ void P_ExplodeMissile (AActor *mo, line_t *line, AActor *target)
FState *nextstate=NULL;
if (target != NULL && ((target->flags & MF_SHOOTABLE) || (target->flags6 & MF6_KILLED)) )
if (target != NULL && ((target->flags & (MF_SHOOTABLE|MF_CORPSE)) || (target->flags6 & MF6_KILLED)) )
{
if (target->flags & MF_NOBLOOD) nextstate = mo->FindState(NAME_Crash);
if (nextstate == NULL) nextstate = mo->FindState(NAME_Death, NAME_Extreme);