aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++) {