aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-05-11 19:09:55 +1000
committerPaul Gilbert2011-05-11 19:09:55 +1000
commit3cbbd5cfac1ca0d8d60cf53a40e79ca9b7d9b18c (patch)
tree53857594fdba5df988ba6c8f16891ee2924e42a8
parent33c3e19cea2a08fbf26ecbe940763e8ee1c37d28 (diff)
downloadscummvm-rg350-3cbbd5cfac1ca0d8d60cf53a40e79ca9b7d9b18c.tar.gz
scummvm-rg350-3cbbd5cfac1ca0d8d60cf53a40e79ca9b7d9b18c.tar.bz2
scummvm-rg350-3cbbd5cfac1ca0d8d60cf53a40e79ca9b7d9b18c.zip
TSAGE: Reset the Globals::_scrollFollower to NULL when a scene ends
-rw-r--r--engines/tsage/scenes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp
index f554d546f6..5d91df0fc8 100644
--- a/engines/tsage/scenes.cpp
+++ b/engines/tsage/scenes.cpp
@@ -254,6 +254,7 @@ Scene::Scene() : _sceneBounds(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
}
Scene::~Scene() {
+ _globals->_scrollFollower = NULL;
}
void Scene::synchronize(Serializer &s) {