aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-04-16 08:44:12 -0400
committerPaul Gilbert2014-04-16 08:44:12 -0400
commit9f67216b11c8c744430d106f36a77068ed8e55d6 (patch)
tree611bcd1b3fba759718ca1c1296bb5a68b640c1fe /engines/mads/scene.cpp
parent48f49eeb8029a36931373de1927aac8021783337 (diff)
downloadscummvm-rg350-9f67216b11c8c744430d106f36a77068ed8e55d6.tar.gz
scummvm-rg350-9f67216b11c8c744430d106f36a77068ed8e55d6.tar.bz2
scummvm-rg350-9f67216b11c8c744430d106f36a77068ed8e55d6.zip
MADS: Fix to stop game ending when loading a cutscene scene
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r--engines/mads/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index 948688e7a2..e2892fbbd1 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -563,7 +563,7 @@ void Scene::updateCursor() {
}
}
-void Scene::free() {
+void Scene::freeCurrentScene() {
if (_animationData) {
delete _animationData;
_animationData = nullptr;