aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-01 19:01:43 +0100
committerEugene Sandulenko2019-12-01 19:01:43 +0100
commit91570ca63f1c822cd7fd624d584a07960b40a40a (patch)
tree8706823e26d91521f2304ed68daad1a686d2bdf0 /engines/director
parentdc17277a790cf343c3064722bf84eef7cf837d5e (diff)
downloadscummvm-rg350-91570ca63f1c822cd7fd624d584a07960b40a40a.tar.gz
scummvm-rg350-91570ca63f1c822cd7fd624d584a07960b40a40a.tar.bz2
scummvm-rg350-91570ca63f1c822cd7fd624d584a07960b40a40a.zip
DIRECTOR: LINGO: Fix c_when() code, so the eecution may continue
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/lingo/lingo-code.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp
index ca9073e8d6..5abbcf3c0e 100644
--- a/engines/director/lingo/lingo-code.cpp
+++ b/engines/director/lingo/lingo-code.cpp
@@ -1016,7 +1016,7 @@ void Lingo::c_whencode() {
}
}
- g_lingo->_pc = end;
+ g_lingo->_pc = end + 1;
}
void Lingo::c_tellcode() {