From 6c25604b9ac38024dccaa89de2295170deb413f6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 4 Sep 2014 21:53:47 -0400 Subject: MADS: Fix palette setup for credits view --- engines/mads/nebular/menu_nebular.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'engines/mads/nebular/menu_nebular.cpp') 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) -- cgit v1.2.3