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 9000f74e8b..f9066f7dfe 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -100,7 +100,7 @@ char Inter::evalExpr(int16 *pRes) {
switch (type) {
case TYPE_IMM_INT16:
- *pRes = _vm->_global->_inter_resVal;
+ *pRes = _vm->_parse->_inter_resVal;
break;
case TYPE_IMM_STR:
@@ -123,7 +123,7 @@ bool Inter::evalBoolResult() {
_vm->_parse->parseExpr(99, &type);
if ( (type == GOB_TRUE) ||
- ((type == TYPE_IMM_INT16) && _vm->_global->_inter_resVal))
+ ((type == TYPE_IMM_INT16) && _vm->_parse->_inter_resVal))
return true;
else
return false;