aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
authorPaweł Kołodziejski2006-01-05 20:54:53 +0000
committerPaweł Kołodziejski2006-01-05 20:54:53 +0000
commitd397e7d96f81540457a00b8e909f89afa771d622 (patch)
tree888e13da8e88a12aa72a53c58aa6c8716317fa56 /gob
parent3adee6125dfab45cfb667eebe3ab631e8dd49401 (diff)
downloadscummvm-rg350-d397e7d96f81540457a00b8e909f89afa771d622.tar.gz
scummvm-rg350-d397e7d96f81540457a00b8e909f89afa771d622.tar.bz2
scummvm-rg350-d397e7d96f81540457a00b8e909f89afa771d622.zip
fixed warnings
svn-id: r19919
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)