aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-28 02:25:09 +0000
committerFilippos Karapetis2007-07-28 02:25:09 +0000
commit3d434b12335fd70659d5a99dd1dfe83b2145323f (patch)
tree042aea038a0bf53a88547349fb968acde16392a4
parent125872c90dbbf68ac423b4e17e0ab51a95d16b91 (diff)
downloadscummvm-rg350-3d434b12335fd70659d5a99dd1dfe83b2145323f.tar.gz
scummvm-rg350-3d434b12335fd70659d5a99dd1dfe83b2145323f.tar.bz2
scummvm-rg350-3d434b12335fd70659d5a99dd1dfe83b2145323f.zip
Fixed one of the incorrectly loaded palettes in Benny's part in the IHNM demo
svn-id: r28255
-rw-r--r--engines/saga/animation.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp
index d29fc6ebe6..e9f3494cd2 100644
--- a/engines/saga/animation.cpp
+++ b/engines/saga/animation.cpp
@@ -94,7 +94,10 @@ void Anim::playCutaway(int cut, bool fade) {
startImmediately = true;
}
- _vm->_gfx->savePalette();
+ // WORKAROUND: The IHNM demo deals with chained cutaways in a different manner. Don't save
+ // the palette of cutaway 11 (the woman looking at the marble)
+ if (!(_vm->getGameId() == GID_IHNM_DEMO && cut == 11))
+ _vm->_gfx->savePalette();
if (fade) {
_vm->_gfx->getCurrentPal(saved_pal);