aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-09-26 14:46:51 +0000
committerTravis Howell2004-09-26 14:46:51 +0000
commit3b24bb05e45f6d52ac3a5a4e69685cae2bb0a501 (patch)
treeaeee390735aa63499e0132ee3e1947fd18d5c5fa
parentdd778741c969aad0f3c9b38fe5fb11d0c7605fa3 (diff)
downloadscummvm-rg350-3b24bb05e45f6d52ac3a5a4e69685cae2bb0a501.tar.gz
scummvm-rg350-3b24bb05e45f6d52ac3a5a4e69685cae2bb0a501.tar.bz2
scummvm-rg350-3b24bb05e45f6d52ac3a5a4e69685cae2bb0a501.zip
Correction.
svn-id: r15290
-rw-r--r--scumm/object.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 2298d6270b..c0aa01b186 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -477,10 +477,7 @@ void ScummEngine::drawObject(int obj, int arg) {
if (numstrip != 0) {
byte flags;
if (_version == 8)
- // TODO: This makes no sense, Kirben: flag bit 4 (16 = 2^4) isn't used;
- // even if it was, it'd probably mean something different for us than for
- // COMI. Maybe you mean: "flags = (od.flag & 16) != 0;" ?
- flags = (od.flag & 16);
+ flags = (od.flag & 16) == 0;
else if (_features & GF_HUMONGOUS)
// TODO: Should be read from object header
flags = 0;