aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2014-06-04 21:56:16 -0400
committerPaul Gilbert2014-06-04 21:56:16 -0400
commit01c18c8f4051b39937d1f036283800a0e3973151 (patch)
treee128d0dd31a6792dad92808dbbea89218c3f0abe /engines/mads
parent643cbc6d161b4226c3e3c5c1125fa7b5b33e7282 (diff)
downloadscummvm-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.cpp2
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);
}
}