aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/menu_nebular.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-09-20 11:29:00 -0400
committerPaul Gilbert2014-09-20 11:29:00 -0400
commitdfe9cf26187509b8aad8454374925aea739684c6 (patch)
treebbc16c3b408e2df48b1c65be473c1fbb7bc6cff9 /engines/mads/nebular/menu_nebular.cpp
parent9a0ba3e63443fcfef4d2edcc48e06faf0820b0c3 (diff)
downloadscummvm-rg350-dfe9cf26187509b8aad8454374925aea739684c6.tar.gz
scummvm-rg350-dfe9cf26187509b8aad8454374925aea739684c6.tar.bz2
scummvm-rg350-dfe9cf26187509b8aad8454374925aea739684c6.zip
MADS: Fix Animation to handle loading backgrounds as well as user interfaces
Diffstat (limited to 'engines/mads/nebular/menu_nebular.cpp')
-rw-r--r--engines/mads/nebular/menu_nebular.cpp2
1 files changed, 1 insertions, 1 deletions
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);