mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- added option for the cast call to use a 'Death.Cast' sequence so that monsters with an unusable death sequence for the cast call can define an alternative.
SVN r2952 (trunk)
This commit is contained in:
parent
6538bc457b
commit
94fd56b6bd
2 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
|
|
@ -186,6 +186,7 @@ xx(Greetings)
|
|||
xx(Idle)
|
||||
xx(GenericFreezeDeath)
|
||||
xx(GenericCrush)
|
||||
xx(Cast)
|
||||
|
||||
// Compatible death names for the decorate parser.
|
||||
xx(XDeath)
|
||||
|
|
Loading…
Reference in a new issue