diff options
author | Filippos Karapetis | 2014-12-07 15:39:11 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-07 15:39:11 +0200 |
commit | 815851e959bb46b2b9fd0de7ff9d04c9097d6908 (patch) | |
tree | 434aa93c0affbe8c64520b81b45ca2a840b38a02 /engines/mads/scene.cpp | |
parent | b3e45ccc6854c93e73fcda0f9daa67ffad76a3a1 (diff) | |
download | scummvm-rg350-815851e959bb46b2b9fd0de7ff9d04c9097d6908.tar.gz scummvm-rg350-815851e959bb46b2b9fd0de7ff9d04c9097d6908.tar.bz2 scummvm-rg350-815851e959bb46b2b9fd0de7ff9d04c9097d6908.zip |
MADS: Remove unused reference to MADSEngine
Thanks to fingolfin for finding out the unused reference
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r-- | engines/mads/scene.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index 18ceb3c813..d2b4b29622 100644 --- a/engines/mads/scene.cpp +++ b/engines/mads/scene.cpp @@ -31,7 +31,7 @@ namespace MADS { Scene::Scene(MADSEngine *vm) - : _vm(vm), _action(_vm), _depthSurface(vm), + : _vm(vm), _action(_vm), _depthSurface(), _dirtyAreas(_vm), _dynamicHotspots(vm), _hotspots(vm), _kernelMessages(vm), _sequences(vm), _sprites(vm), _spriteSlots(vm), _textDisplay(vm), _userInterface(vm) { @@ -182,7 +182,7 @@ void Scene::loadScene(int sceneId, const Common::String &prefix, bool palFlag) { flags |= ANIMFLAG_LOAD_BACKGROUND_ONLY; _animationData = Animation::init(_vm, this); - DepthSurface depthSurface(_vm); + DepthSurface depthSurface; _animationData->load(_userInterface, depthSurface, prefix, flags, nullptr, nullptr); _vm->_palette->_paletteUsage.load(&_scenePaletteUsage); @@ -611,7 +611,7 @@ void Scene::loadAnimation(const Common::String &resName, int trigger) { if (_activeAnimation) freeAnimation(); - DepthSurface depthSurface(_vm); + DepthSurface depthSurface; UserInterface interfaceSurface(_vm); _activeAnimation = Animation::init(_vm, this); |