- fixed: States jumping to themselves should only end an actor's cast call when it happens in the death sequence.

SVN r2957 (trunk)
This commit is contained in:
Christoph Oelckers 2010-10-17 23:22:09 +00:00
parent f318653a11
commit 0497171bc0

View file

@ -481,7 +481,7 @@ int DIntermissionScreenCast::Ticker ()
return 0; // not time to change state yet return 0; // not time to change state yet
if (caststate == NULL || caststate->GetTics() == -1 || caststate->GetNextState() == NULL || if (caststate == NULL || caststate->GetTics() == -1 || caststate->GetNextState() == NULL ||
caststate->GetNextState() == caststate) (caststate->GetNextState() == caststate && castdeath))
{ {
return -1; return -1;
} }