aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/lingo/lingo-codegen.cpp2
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);