aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-10 22:28:51 -0400
committerPaul Gilbert2014-05-10 22:28:51 -0400
commit3f3040063ac0b874a275a3bf44b48a6283b2404b (patch)
treedfd1b2411275041eecbfd98788a1570a2a841261
parent434f33561166ed70442db3a55813176dbe0e4757 (diff)
downloadscummvm-rg350-3f3040063ac0b874a275a3bf44b48a6283b2404b.tar.gz
scummvm-rg350-3f3040063ac0b874a275a3bf44b48a6283b2404b.tar.bz2
scummvm-rg350-3f3040063ac0b874a275a3bf44b48a6283b2404b.zip
MADS: Fix restoring palette after showing picture dialog
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 4d34c76986..6ddb3230d9 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -368,6 +368,7 @@ PictureDialog::~PictureDialog() {
// Restore palette information
Common::copy(&_palette[0], &_palette[PALETTE_SIZE], &palette._mainPalette[0]);
+ _vm->_palette->setFullPalette(palette._mainPalette);
Common::copy(&_palFlags[0], &_palFlags[PALETTE_COUNT], &palette._palFlags[0]);
palette._rgbList.copy(_rgbList);
}