Skip to content

Commit

Permalink
Finales: Don't auto-stop scripts that end while NoSkip
Browse files Browse the repository at this point in the history
A finale script that is using NoSkip will not automatically end
when execution reaches the end of the script.
  • Loading branch information
skyjake committed Feb 9, 2012
1 parent 2397b58 commit 23c0379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/finaleinterpreter.c
Expand Up @@ -1109,7 +1109,7 @@ boolean FinaleInterpreter_RunTic(finaleinterpreter_t* fi)
{int last = 0;
while(!fi->_gotoEnd && !fi->_wait && !fi->_waitingText && !fi->_waitingPic && !last)
last = !executeNextCommand(fi);
return (fi->_gotoEnd || last);}
return (fi->_gotoEnd || (last && fi->flags.can_skip));}
}

boolean FinaleInterpreter_SkipToMarker(finaleinterpreter_t* fi, const char* marker)
Expand Down

0 comments on commit 23c0379

Please sign in to comment.