aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/inventory.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-01 14:34:39 +0200
committerEugene Sandulenko2014-02-01 16:55:44 +0200
commit86d5e8bd6820aee3c124bf0d4c6c25ba31bd42e0 (patch)
treee41153176c088b1de4bf91566124d03088253aca /engines/fullpipe/inventory.cpp
parentb5182581eb9828c9edc0aebdc5e8dafc946f6e3e (diff)
downloadscummvm-rg350-86d5e8bd6820aee3c124bf0d4c6c25ba31bd42e0.tar.gz
scummvm-rg350-86d5e8bd6820aee3c124bf0d4c6c25ba31bd42e0.tar.bz2
scummvm-rg350-86d5e8bd6820aee3c124bf0d4c6c25ba31bd42e0.zip
FULLPIPE: Implement inventory class destructors
Diffstat (limited to 'engines/fullpipe/inventory.cpp')
-rw-r--r--engines/fullpipe/inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/inventory.cpp b/engines/fullpipe/inventory.cpp
index f5af0611cb..f9255a553b 100644
--- a/engines/fullpipe/inventory.cpp
+++ b/engines/fullpipe/inventory.cpp
@@ -31,7 +31,7 @@
namespace Fullpipe {
Inventory::~Inventory() {
- warning("STUB: Inventory::~Inventory()");
+ _itemsPool.clear();
}
bool Inventory::load(MfcArchive &file) {
@@ -90,7 +90,7 @@ Inventory2::Inventory2() {
}
Inventory2::~Inventory2() {
- warning("STUB: Inventory2::~Inventory2()");
+ removeMessageHandler(125, -1);
}
bool Inventory2::loadPartial(MfcArchive &file) { // Inventory2_SerializePartially