aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-10-28 04:42:22 +0000
committerFilippos Karapetis2007-10-28 04:42:22 +0000
commit00e9ed51d9e39ad9c07e3dcd53053bc9a6c5a22e (patch)
tree6405b579f8c21c57904eee1aad3aae3cf7818163 /engines
parente4125a0368e78f7918c6bdee91686965fe96207f (diff)
downloadscummvm-rg350-00e9ed51d9e39ad9c07e3dcd53053bc9a6c5a22e.tar.gz
scummvm-rg350-00e9ed51d9e39ad9c07e3dcd53053bc9a6c5a22e.tar.bz2
scummvm-rg350-00e9ed51d9e39ad9c07e3dcd53053bc9a6c5a22e.zip
The palette of the boss screen (F9 key) in IHNM is set correctly now
svn-id: r29279
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/interface.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 38d46eed57..c3e926ad95 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -2790,10 +2790,14 @@ void Interface::keyBoss() {
_vm->_gfx->getCurrentPal(_mapSavedPal);
pal = _vm->getImagePal(resource, resourceLength);
- for (i = 0; i < PAL_ENTRIES; i++) {
- cPal[i].red = *pal++;
- cPal[i].green = *pal++;
- cPal[i].blue = *pal++;
+ cPal[0].red = 0;
+ cPal[0].green = 0;
+ cPal[0].blue = 0;
+
+ for (i = 1; i < PAL_ENTRIES; i++) {
+ cPal[i].red = 128;
+ cPal[i].green = 128;
+ cPal[i].blue = 128;
}
backBuffer->blit(rect, image);