From 0497171bc08a9efcab20bcaceee8a2649a0f4625 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 17 Oct 2010 23:22:09 +0000 Subject: [PATCH] - fixed: States jumping to themselves should only end an actor's cast call when it happens in the death sequence. SVN r2957 (trunk) --- src/intermission/intermission.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intermission/intermission.cpp b/src/intermission/intermission.cpp index 8448bf0033..f22df89fb0 100644 --- a/src/intermission/intermission.cpp +++ b/src/intermission/intermission.cpp @@ -481,7 +481,7 @@ int DIntermissionScreenCast::Ticker () return 0; // not time to change state yet if (caststate == NULL || caststate->GetTics() == -1 || caststate->GetNextState() == NULL || - caststate->GetNextState() == caststate) + (caststate->GetNextState() == caststate && castdeath)) { return -1; }