diff options
author | Eugene Sandulenko | 2017-02-14 19:08:05 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-02-14 19:08:05 +0100 |
commit | 8c13a263aef01e191ab4b031210186553025cf53 (patch) | |
tree | 09c52103bcb5377af9bcbfca0320a981a3b8e808 /engines/director/score.cpp | |
parent | dcdce7b055742b6bc53a208a4d1292482f87bb30 (diff) | |
download | scummvm-rg350-8c13a263aef01e191ab4b031210186553025cf53.tar.gz scummvm-rg350-8c13a263aef01e191ab4b031210186553025cf53.tar.bz2 scummvm-rg350-8c13a263aef01e191ab4b031210186553025cf53.zip |
DIRECTOR: Lingo: Fix rest of the 'go to' family functions
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r-- | engines/director/score.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index ca016d0051..76393e5449 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -639,6 +639,8 @@ void Score::gotoLoop() { } } } + + g_director->_skipFrameAdvance = true; } int Score::getCurrentLabelNumber() { @@ -657,11 +659,15 @@ int Score::getCurrentLabelNumber() { void Score::gotoNext() { // we can just try to use the current frame and get the next label _currentFrame = getNextLabelNumber(_currentFrame); + + g_director->_skipFrameAdvance = true; } void Score::gotoPrevious() { // we actually need the frame of the label prior to the most recent label. _currentFrame = getPreviousLabelNumber(getCurrentLabelNumber()); + + g_director->_skipFrameAdvance = true; } int Score::getNextLabelNumber(int referenceFrame) { |