From 5b7cb7ae3e3e6e6404c1dd9153822c59b659b91e Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 18 Dec 2008 16:38:28 +0000 Subject: Note to self: Don't sleep-deprive and code, for it makes you daft as a broom ;) (Thanks to md5 for pointing this out to me) svn-id: r35423 --- engines/gob/inter_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index 7aa17b33ab..48ce40a335 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -1199,7 +1199,7 @@ void Inter_v2::o2_pushVars() { _varSizesStack[_varStackPos] = _vm->_global->_inter_animDataSize * 4; } else { - if (!evalExpr(&varOff) == 20) + if (evalExpr(&varOff) != 20) _vm->_global->_inter_resVal = 0; memcpy(_varStack + _varStackPos, &_vm->_global->_inter_resVal, 4); -- cgit v1.2.3