aboutsummaryrefslogtreecommitdiff
path: root/scumm/costume.cpp
diff options
context:
space:
mode:
authorMax Horn2003-04-22 20:50:55 +0000
committerMax Horn2003-04-22 20:50:55 +0000
commitcf730045d9882ba57c4ffefee1a267134b86d6c1 (patch)
tree974f0ddf308d2f960707ad2872f4ac040155feba /scumm/costume.cpp
parentcdd97dd5dbb5c8c01fef809be797d17450fe4e98 (diff)
downloadscummvm-rg350-cf730045d9882ba57c4ffefee1a267134b86d6c1.tar.gz
scummvm-rg350-cf730045d9882ba57c4ffefee1a267134b86d6c1.tar.bz2
scummvm-rg350-cf730045d9882ba57c4ffefee1a267134b86d6c1.zip
added FIXME comment (aquadran, comments?)
svn-id: r7079
Diffstat (limited to 'scumm/costume.cpp')
-rw-r--r--scumm/costume.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index 0eea6410fd..903e5e737b 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -1327,6 +1327,10 @@ void CostumeRenderer::setPalette(byte *palette) {
memset(_palette, 8, 16);
_palette[12] = 0;
}
+ // FIXME: is this actually anything more than a guess (i.e. verified by disassmbly) ?
+ // A more "logical" thing would be if any 255 values in _palette are replaced
+ // by this value, at least that would closely parallel the actor palette usage in
+ // newer games (see below).
_palette[_loaded._ptr[8]] = _palette[0];
} else {
for (i = 0; i < _loaded._numColors; i++) {