mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- 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:
parent
f318653a11
commit
0497171bc0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue