From 07dba2b4fe974bfc87607106ce7bebdd3c975cdc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 25 Dec 2009 22:57:42 +0000 Subject: [PATCH] - The crash state must still be activatable by actors that have MF_CORPSE but not MF6_KILLED. SVN r2050 (trunk) --- src/p_mobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 067ee62b4..53d6c6227 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -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);