diff options
author | Sven Hesse | 2008-12-18 16:38:28 +0000 |
---|---|---|
committer | Sven Hesse | 2008-12-18 16:38:28 +0000 |
commit | 5b7cb7ae3e3e6e6404c1dd9153822c59b659b91e (patch) | |
tree | 4a5088c70c55df463b5c10f7b4ebb3dd5200837e /engines | |
parent | 05434a38f02242cd3311a67ecaa99a361ddba6d5 (diff) | |
download | scummvm-rg350-5b7cb7ae3e3e6e6404c1dd9153822c59b659b91e.tar.gz scummvm-rg350-5b7cb7ae3e3e6e6404c1dd9153822c59b659b91e.tar.bz2 scummvm-rg350-5b7cb7ae3e3e6e6404c1dd9153822c59b659b91e.zip |
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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/inter_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |