diff options
author | Paul Gilbert | 2014-05-25 13:23:05 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-25 13:23:05 -0400 |
commit | ea19581ae30bed434da8c9426c7b6defd702fc88 (patch) | |
tree | be063cdce22a8011d6570ed10644aee25ee3fdb0 /engines/mads/scene.cpp | |
parent | ce5c2f3e28cf7f7be5d2aa477d9610df04a126eb (diff) | |
download | scummvm-rg350-ea19581ae30bed434da8c9426c7b6defd702fc88.tar.gz scummvm-rg350-ea19581ae30bed434da8c9426c7b6defd702fc88.tar.bz2 scummvm-rg350-ea19581ae30bed434da8c9426c7b6defd702fc88.zip |
MADS: Standardised on passing depth surfaces as DepthSurface
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r-- | engines/mads/scene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index 944c082817..13913030df 100644 --- a/engines/mads/scene.cpp +++ b/engines/mads/scene.cpp @@ -176,7 +176,7 @@ void Scene::loadScene(int sceneId, const Common::String &prefix, bool palFlag) { flags |= ANIMFLAG_LOAD_BACKGROUND_ONLY; _animationData = Animation::init(_vm, this); - MSurface depthSurface; + DepthSurface depthSurface(_vm); _animationData->load(_userInterface, depthSurface, prefix, flags, nullptr, nullptr); _vm->_palette->_paletteUsage.load(&_scenePaletteUsage); @@ -592,7 +592,7 @@ void Scene::checkKeyboard() { void Scene::loadAnimation(const Common::String &resName, int trigger) { assert(_activeAnimation == nullptr); - MSurface depthSurface; + DepthSurface depthSurface(_vm); UserInterface interfaceSurface(_vm); _activeAnimation = Animation::init(_vm, this); |