aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/lingo/lingo-code.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp
index 5abbcf3c0e..9c25c35605 100644
--- a/engines/director/lingo/lingo-code.cpp
+++ b/engines/director/lingo/lingo-code.cpp
@@ -152,8 +152,7 @@ void Lingo::pushVoid() {
}
Datum Lingo::pop(void) {
- if (_stack.size() == 0)
- assert(0);
+ assert (_stack.size() != 0);
Datum ret = _stack.back();
_stack.pop_back();