diff options
author | Paul Gilbert | 2014-10-08 22:21:26 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-10-08 22:21:26 -0400 |
commit | c584515b2439a53cd17ef03597132b94bd342aa5 (patch) | |
tree | 395969c350e970d69abe1bf7b587e9924703c73a /engines/mads/nebular | |
parent | 1c9752cb0274c8b95fd529c3bb3beb8b78bad030 (diff) | |
download | scummvm-rg350-c584515b2439a53cd17ef03597132b94bd342aa5.tar.gz scummvm-rg350-c584515b2439a53cd17ef03597132b94bd342aa5.tar.bz2 scummvm-rg350-c584515b2439a53cd17ef03597132b94bd342aa5.zip |
MADS: Fix palette for display of intro animation
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r-- | engines/mads/nebular/menu_nebular.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp index 52f69884bd..6db9179608 100644 --- a/engines/mads/nebular/menu_nebular.cpp +++ b/engines/mads/nebular/menu_nebular.cpp @@ -877,10 +877,11 @@ void AnimationView::doFrame() { void AnimationView::loadNextResource() { Scene &scene = _vm->_game->_scene; + Palette &palette = *_vm->_palette; ResourceEntry &resEntry = _resources[_resourceIndex]; if (resEntry._bgFlag) - _vm->_palette->resetGamePalette(1, 8); + palette.resetGamePalette(1, 8); // Load the new animation delete _currentAnimation; @@ -891,6 +892,7 @@ void AnimationView::loadNextResource() { // Signal for a screen refresh scene._spriteSlots.fullRefresh(); + palette.setFullPalette(palette._mainPalette); // If a sound driver has been specified, then load the correct one if (!_currentAnimation->_header._soundName.empty()) { |