FULLPIPE: Implement couple destructors

This commit is contained in:
Eugene Sandulenko 2014-04-21 09:38:46 +03:00
parent 81a2ee7d7c
commit 3091d0ae7f
2 changed files with 6 additions and 2 deletions

View File

@ -168,7 +168,9 @@ PictureObject::PictureObject() {
}
PictureObject::~PictureObject() {
warning("STUB: PictureObject::~PictureObject()");
delete _picture;
_pictureObject2List->clear();
delete _pictureObject2List;
}
PictureObject::PictureObject(PictureObject *src) : GameObject(src) {

View File

@ -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) {