diff options
author | Eugene Sandulenko | 2019-12-01 01:06:06 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-01 01:06:33 +0100 |
commit | f80947183c16e4be5f651f0ba2202446faf1ba8b (patch) | |
tree | 3ae37f9151e992e460935beac5843d0466a2a296 | |
parent | 058fa35d6fa3b36b801750e2a128fdd9b766379a (diff) | |
download | scummvm-rg350-f80947183c16e4be5f651f0ba2202446faf1ba8b.tar.gz scummvm-rg350-f80947183c16e4be5f651f0ba2202446faf1ba8b.tar.bz2 scummvm-rg350-f80947183c16e4be5f651f0ba2202446faf1ba8b.zip |
DIRECTOR: LINGO: Make sure we stop after last 'on' definition
-rw-r--r-- | engines/director/lingo/lingo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 365b67c38d..b9236d8627 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -199,6 +199,8 @@ void Lingo::addCode(const char *code, ScriptType type, uint16 id) { debugC(1, kDebugLingoCompile, "Code chunk:\n#####\n%s\n#####", begin); parse(begin); + + code1(STOP); } else { parse(code); |