From 2c40b302abfa36cc0fc04b3911186be919c01129 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 28 Jul 2007 13:28:25 +0000 Subject: The palette in Benny's part in the IHNM demo is correct now svn-id: r28266 --- engines/saga/animation.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/saga') diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp index e9f3494cd2..bad1155806 100644 --- a/engines/saga/animation.cpp +++ b/engines/saga/animation.cpp @@ -155,6 +155,12 @@ void Anim::playCutaway(int cut, bool fade) { _vm->_gfx->setPalette(palette); + // WORKAROUND for a bug found in the original IHNM demo. The palette of cutaway 12 is incorrect (the incorrect + // palette can be seen in the original demo too, for a split second). Therefore, use the saved palette for this + // cutaway + if (_vm->getGameId() == GID_IHNM_DEMO && cut == 12) + _vm->_gfx->restorePalette(); + free(buf); free(resourceData); -- cgit v1.2.3