From 5df29654fc09e882e3581ff3ddfadaceb6e79e43 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 17 Feb 2007 09:56:09 +0000 Subject: - Added a warning when o1_checkData()/o2_checkData() can't find the file it's supposed to check - Fixed the actor drawn over the background glitch in Bargon Attack - Plugged some leaks svn-id: r25651 --- engines/gob/mult_v2.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'engines/gob/mult_v2.cpp') diff --git a/engines/gob/mult_v2.cpp b/engines/gob/mult_v2.cpp index 56f96f4d97..4a0e4fcfd6 100644 --- a/engines/gob/mult_v2.cpp +++ b/engines/gob/mult_v2.cpp @@ -49,18 +49,11 @@ Mult_v2::Mult_v2(GobEngine *vm) : Mult_v1(vm) { } Mult_v2::~Mult_v2() { - int i; - freeMultKeys(); - for (i = 0; i < 8; i++) { + for (int i = 0; i < 8; i++) { _multData = _multDatas[i]; freeMultKeys(); } - - if (_orderArray) - delete[] _orderArray; - if (_renderData2) - delete[] _renderData2; } void Mult_v2::loadMult(int16 resId) { -- cgit v1.2.3