aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {