- 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
1 changed files with 1 additions and 1 deletions

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);