aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/inter.cpp')
-rw-r--r--engines/gob/inter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp
index 8988d0b825..61bf99e727 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -173,7 +173,7 @@ char Inter::evalExpr(int16 *pRes) {
switch (type) {
case TYPE_IMM_INT16:
- *pRes = _vm->_parse->_resultInt;
+ *pRes = _vm->_parse->getResultInt();
break;
case TYPE_IMM_STR:
@@ -196,7 +196,7 @@ bool Inter::evalBoolResult() {
_vm->_parse->parseExpr(99, &type);
if ( (type == GOB_TRUE) ||
- ((type == TYPE_IMM_INT16) && _vm->_parse->_resultInt))
+ ((type == TYPE_IMM_INT16) && _vm->_parse->getResultInt()))
return true;
else
return false;