aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/core.cpp2
-rw-r--r--engines/tsage/saveload.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index cd7d2cda9f..4f7bfef173 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1309,6 +1309,8 @@ void ScenePalette::changeBackground(const Rect &bounds, FadeMode fadeMode) {
_globals->_screenSurface.copyFrom(_globals->_sceneManager._scene->_backSurface,
bounds, Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT), NULL);
+ _globals->_events.showCursor();
+ tempPalette._listeners.clear2();
}
void ScenePalette::synchronise(Serialiser &s) {
diff --git a/engines/tsage/saveload.h b/engines/tsage/saveload.h
index efaa8d696e..12552f8104 100644
--- a/engines/tsage/saveload.h
+++ b/engines/tsage/saveload.h
@@ -118,6 +118,12 @@ public:
Fn(*i);
}
+ void clear2() {
+ for (typename List<T>::iterator i = this->begin(); i != this->end(); ++i)
+ delete *i;
+ Common::List<T>::clear();
+ }
+
void synchronise(Serialiser &s) {
int entryCount;