aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/interaction.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2014-04-21 09:38:46 +0300
committerEugene Sandulenko2014-04-21 09:38:46 +0300
commit3091d0ae7f9ea1a8fc1d1be9bc773c853787fa26 (patch)
tree685774451a41aca4e0ebefc78642c2e919b99bf4 /engines/fullpipe/interaction.cpp
parent81a2ee7d7c38e427a00ac1102b817e2854bb45eb (diff)
downloadscummvm-rg350-3091d0ae7f9ea1a8fc1d1be9bc773c853787fa26.tar.gz
scummvm-rg350-3091d0ae7f9ea1a8fc1d1be9bc773c853787fa26.tar.bz2
scummvm-rg350-3091d0ae7f9ea1a8fc1d1be9bc773c853787fa26.zip
FULLPIPE: Implement couple destructors
Diffstat (limited to 'engines/fullpipe/interaction.cpp')
-rw-r--r--engines/fullpipe/interaction.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/fullpipe/interaction.cpp b/engines/fullpipe/interaction.cpp
index 6b6ceb6eeb..f24f21584d 100644
--- a/engines/fullpipe/interaction.cpp
+++ b/engines/fullpipe/interaction.cpp
@@ -56,7 +56,9 @@ bool canInteractAny(GameObject *obj1, GameObject *obj2, int invId) {
}
InteractionController::~InteractionController() {
- warning("STUB: InteractionController::~InteractionController()");
+ _interactions.clear();
+
+ removeMessageHandler(124, -1);
}
bool InteractionController::load(MfcArchive &file) {