diff options
author | Eugene Sandulenko | 2016-07-04 22:58:21 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | eb4ef6db565307d36fdcec52b66afceeb8c2a917 (patch) | |
tree | acb4c3a7c3ea6150dcf00a54aa6e227d993cc200 /engines/director | |
parent | 2dba6126b72cfcc1643e7623e6f558a41931bf37 (diff) | |
download | scummvm-rg350-eb4ef6db565307d36fdcec52b66afceeb8c2a917.tar.gz scummvm-rg350-eb4ef6db565307d36fdcec52b66afceeb8c2a917.tar.bz2 scummvm-rg350-eb4ef6db565307d36fdcec52b66afceeb8c2a917.zip |
DIRECTOR: Lingo: Fix if() generation
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/lingo/lingo-codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-codegen.cpp b/engines/director/lingo/lingo-codegen.cpp index 47f723f44c..2847c45403 100644 --- a/engines/director/lingo/lingo-codegen.cpp +++ b/engines/director/lingo/lingo-codegen.cpp @@ -238,7 +238,7 @@ void Lingo::processIf(int endlabel) { _labelstack.pop_back(); // This is beginning of our if() - if (label) + if (!label) break; WRITE_UINT32(&ielse1, else1); |