diff options
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()) { |