From 86d5e8bd6820aee3c124bf0d4c6c25ba31bd42e0 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 1 Feb 2014 14:34:39 +0200 Subject: [PATCH] FULLPIPE: Implement inventory class destructors --- engines/fullpipe/inventory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/fullpipe/inventory.cpp b/engines/fullpipe/inventory.cpp index f5af0611cb2..f9255a553b3 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