diff options
author | Paul Gilbert | 2014-05-10 22:28:51 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-10 22:28:51 -0400 |
commit | 3f3040063ac0b874a275a3bf44b48a6283b2404b (patch) | |
tree | dfd1b2411275041eecbfd98788a1570a2a841261 | |
parent | 434f33561166ed70442db3a55813176dbe0e4757 (diff) | |
download | scummvm-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.cpp | 1 |
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); } |