aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-09-26 14:07:53 +0000
committerMax Horn2004-09-26 14:07:53 +0000
commitdd778741c969aad0f3c9b38fe5fb11d0c7605fa3 (patch)
tree7705a62b21f1aa8da89f889181bfd1a3c619d02d
parent274a69a38411ea8361cc957f090d1f22073c7a4d (diff)
downloadscummvm-rg350-dd778741c969aad0f3c9b38fe5fb11d0c7605fa3.tar.gz
scummvm-rg350-dd778741c969aad0f3c9b38fe5fb11d0c7605fa3.tar.bz2
scummvm-rg350-dd778741c969aad0f3c9b38fe5fb11d0c7605fa3.zip
flag computation makes no sense; the whole thing looks quirky :-/
svn-id: r15289
-rw-r--r--scumm/object.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 242178485b..2298d6270b 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -477,12 +477,15 @@ 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);
else if (_features & GF_HUMONGOUS)
- //TODO Should be read from object header
+ // TODO: Should be read from object header
flags = 0;
else
- flags = Gdi::dbAllowMaskOr;;
+ flags = Gdi::dbAllowMaskOr;
if (_version == 1) {
gdi._C64ObjectMode = true;