aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/animation.cpp6
1 files changed, 6 insertions, 0 deletions
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);