diff --git a/src/intermission/intermission.cpp b/src/intermission/intermission.cpp index 74a98a6a2b..8448bf0033 100644 --- a/src/intermission/intermission.cpp +++ b/src/intermission/intermission.cpp @@ -433,7 +433,9 @@ int DIntermissionScreenCast::Responder (event_t *ev) return 1; // already in dying frames castdeath = true; - caststate = mClass->ActorInfo->FindState(NAME_Death); + + FName label[] = {NAME_Death, NAME_Cast}; + caststate = mClass->ActorInfo->FindState(2, label); if (caststate == NULL) return -1; casttics = caststate->GetTics(); diff --git a/src/namedef.h b/src/namedef.h index c9168fed30..2405da0fd5 100644 --- a/src/namedef.h +++ b/src/namedef.h @@ -186,6 +186,7 @@ xx(Greetings) xx(Idle) xx(GenericFreezeDeath) xx(GenericCrush) +xx(Cast) // Compatible death names for the decorate parser. xx(XDeath)