diff options
author | Paul Gilbert | 2014-06-04 21:56:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-06-04 21:56:16 -0400 |
commit | 01c18c8f4051b39937d1f036283800a0e3973151 (patch) | |
tree | e128d0dd31a6792dad92808dbbea89218c3f0abe /engines/mads | |
parent | 643cbc6d161b4226c3e3c5c1125fa7b5b33e7282 (diff) | |
download | scummvm-rg350-01c18c8f4051b39937d1f036283800a0e3973151.tar.gz scummvm-rg350-01c18c8f4051b39937d1f036283800a0e3973151.tar.bz2 scummvm-rg350-01c18c8f4051b39937d1f036283800a0e3973151.zip |
MADS: Fix restoring upper palette area when dialogs close
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/dialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/dialogs.cpp b/engines/mads/dialogs.cpp index dc8c846beb..7e6909d113 100644 --- a/engines/mads/dialogs.cpp +++ b/engines/mads/dialogs.cpp @@ -64,7 +64,7 @@ void Dialog::restore() { Common::copy(&_dialogPalette[0], &_dialogPalette[8 * 3], &_vm->_palette->_mainPalette[248 * 3]); - _vm->_palette->setPalette(_vm->_palette->_mainPalette, 248, 8); + _vm->_palette->setPalette(&_vm->_palette->_mainPalette[248 * 3], 248, 8); } } |