From dfe9cf26187509b8aad8454374925aea739684c6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 20 Sep 2014 11:29:00 -0400 Subject: MADS: Fix Animation to handle loading backgrounds as well as user interfaces --- engines/mads/nebular/menu_nebular.cpp | 2 +- 1 file changed, 1 insertion(+), 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 14b5b5be9e..7f4eaaeec3 100644 --- a/engines/mads/nebular/menu_nebular.cpp +++ b/engines/mads/nebular/menu_nebular.cpp @@ -875,7 +875,7 @@ void AnimationView::loadNextResource() { delete _currentAnimation; _currentAnimation = Animation::init(_vm, &scene); - _currentAnimation->load(scene._userInterface, scene._depthSurface, + _currentAnimation->load(scene._backgroundSurface, scene._depthSurface, resEntry._resourceName, resEntry._bgFlag ? 0x100 : 0, nullptr, _sceneInfo); -- cgit v1.2.3