aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tsage/core.cpp')
-rw-r--r--engines/tsage/core.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 38d21d98be..8cc0589a85 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1546,6 +1546,10 @@ void SceneObjectWrapper::synchronise(Serialiser &s) {
SYNC_POINTER(_sceneObject);
}
+void SceneObjectWrapper::remove() {
+ delete this;
+}
+
void SceneObjectWrapper::dispatch() {
_visageImages.setVisage(_sceneObject->_visage);
int frameCount = _visageImages.getFrameCount();