MADS: Fix restoring palette after showing picture dialog

This commit is contained in:
Paul Gilbert 2014-05-10 22:28:51 -04:00
parent 434f335611
commit 3f3040063a

View File

@ -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);
}