diff options
author | Eugene Sandulenko | 2019-12-08 13:50:39 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-08 13:50:39 +0100 |
commit | 31e88be66abb29988cede2d2b0325cc8e72a1c2f (patch) | |
tree | 6e57b60a1190428d765fe1c547b5c249b644536a /engines/director/lingo | |
parent | a18ff97c658a5bc9200faaa6f35c3036159eef39 (diff) | |
download | scummvm-rg350-31e88be66abb29988cede2d2b0325cc8e72a1c2f.tar.gz scummvm-rg350-31e88be66abb29988cede2d2b0325cc8e72a1c2f.tar.bz2 scummvm-rg350-31e88be66abb29988cede2d2b0325cc8e72a1c2f.zip |
DIRECTOR: LINGO: Fix 'if' preprocessor for nested ifs
Diffstat (limited to 'engines/director/lingo')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 7a265babf6..75aee348fa 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -419,7 +419,7 @@ Common::String Lingo::codePreprocessor(const char *s) { s1++; tok = nexttok(s1); - if (tok.equalsIgnoreCase("else")) { + if (tok.equalsIgnoreCase("else") && elseif) { // Nothing to do here, same level debugC(2, kDebugLingoParse, "tNLELSE"); } else { |