aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-funcs.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-14 19:03:02 +0100
committerEugene Sandulenko2017-02-14 19:03:44 +0100
commitdcdce7b055742b6bc53a208a4d1292482f87bb30 (patch)
tree8f9d4394eaba302b1d703356e79f323b20996b5f /engines/director/lingo/lingo-funcs.cpp
parent748878bf6b52a289902c78a5a3206d6db1aba270 (diff)
downloadscummvm-rg350-dcdce7b055742b6bc53a208a4d1292482f87bb30.tar.gz
scummvm-rg350-dcdce7b055742b6bc53a208a4d1292482f87bb30.tar.bz2
scummvm-rg350-dcdce7b055742b6bc53a208a4d1292482f87bb30.zip
DIRECTOR: Lingo: Fixed 'go to' functions
Diffstat (limited to 'engines/director/lingo/lingo-funcs.cpp')
-rw-r--r--engines/director/lingo/lingo-funcs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-funcs.cpp b/engines/director/lingo/lingo-funcs.cpp
index 7056d9a863..5ddfd0db62 100644
--- a/engines/director/lingo/lingo-funcs.cpp
+++ b/engines/director/lingo/lingo-funcs.cpp
@@ -223,6 +223,8 @@ void Lingo::func_goto(Datum &frame, Datum &movie) {
if (frame.type == VOID)
return;
+ _vm->_skipFrameAdvance = true;
+
if (frame.type == STRING) {
if (_vm->getCurrentScore())
_vm->getCurrentScore()->setStartToLabel(*frame.u.s);