From 1c9752cb0274c8b95fd529c3bb3beb8b78bad030 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 8 Oct 2014 21:04:06 -0400 Subject: MADS: Fix refreshing backgound at start of intro animation --- engines/mads/nebular/menu_nebular.cpp | 4 ++++ 1 file changed, 4 insertions(+) (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 93bc4bada4..52f69884bd 100644 --- a/engines/mads/nebular/menu_nebular.cpp +++ b/engines/mads/nebular/menu_nebular.cpp @@ -882,12 +882,16 @@ void AnimationView::loadNextResource() { if (resEntry._bgFlag) _vm->_palette->resetGamePalette(1, 8); + // Load the new animation delete _currentAnimation; _currentAnimation = Animation::init(_vm, &scene); _currentAnimation->load(scene._backgroundSurface, scene._depthSurface, resEntry._resourceName, resEntry._bgFlag ? ANIMFLAG_LOAD_BACKGROUND : 0, nullptr, _sceneInfo); + // Signal for a screen refresh + scene._spriteSlots.fullRefresh(); + // If a sound driver has been specified, then load the correct one if (!_currentAnimation->_header._soundName.empty()) { const char *chP = strchr(_currentAnimation->_header._soundName.c_str(), '.'); -- cgit v1.2.3