aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
Diffstat (limited to 'gob')
-rw-r--r--gob/inter_v1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gob/inter_v1.cpp b/gob/inter_v1.cpp
index 7a3a1d5d32..2dde0d9078 100644
--- a/gob/inter_v1.cpp
+++ b/gob/inter_v1.cpp
@@ -1475,7 +1475,7 @@ bool Inter_v1::o1_call(char &cmdCount, int16 &counter, int16 &retFlag) {
bool Inter_v1::o1_callBool(char &cmdCount, int16 &counter, int16 &retFlag) {
byte cmd;
- bool boolRes = evalBoolResult();
+ bool boolRes = evalBoolResult() != 0;
if (boolRes != 0) {
if (counter == cmdCount
&& retFlag == 2)