From cf730045d9882ba57c4ffefee1a267134b86d6c1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 22 Apr 2003 20:50:55 +0000 Subject: added FIXME comment (aquadran, comments?) svn-id: r7079 --- scumm/costume.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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++) { -- cgit v1.2.3