aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/menu_nebular.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-09-04 21:53:47 -0400
committerPaul Gilbert2014-09-04 21:53:47 -0400
commit6c25604b9ac38024dccaa89de2295170deb413f6 (patch)
tree4fbe16bf78de0644398ea02b421a84b117f63c39 /engines/mads/nebular/menu_nebular.cpp
parent82b2b2d65d0398cb1f3a17f421cbf78f52286faa (diff)
downloadscummvm-rg350-6c25604b9ac38024dccaa89de2295170deb413f6.tar.gz
scummvm-rg350-6c25604b9ac38024dccaa89de2295170deb413f6.tar.bz2
scummvm-rg350-6c25604b9ac38024dccaa89de2295170deb413f6.zip
MADS: Fix palette setup for credits view
Diffstat (limited to 'engines/mads/nebular/menu_nebular.cpp')
-rw-r--r--engines/mads/nebular/menu_nebular.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp
index d5a1d8538d..d34f62a3c0 100644
--- a/engines/mads/nebular/menu_nebular.cpp
+++ b/engines/mads/nebular/menu_nebular.cpp
@@ -625,10 +625,18 @@ void TextView::processText() {
}
void TextView::display() {
- MenuView::display();
+ resetPalette();
+
+ FullScreenDialog::display();
_sceneChanged = true;
}
+void TextView::resetPalette() {
+ _vm->_palette->resetGamePalette(8, 8);
+ _vm->_palette->setEntry(5, 0, 63, 63);
+ _vm->_palette->setEntry(6, 0, 45, 45);
+}
+
void TextView::doFrame() {
Scene &scene = _vm->_game->_scene;
if (!_animating)