diff options
author | Sven Hesse | 2007-02-17 09:56:09 +0000 |
---|---|---|
committer | Sven Hesse | 2007-02-17 09:56:09 +0000 |
commit | 5df29654fc09e882e3581ff3ddfadaceb6e79e43 (patch) | |
tree | 5bdd4a1350d4020186ab79123d37768c64b8c1eb /engines/gob/mult_v2.cpp | |
parent | 546758a086eb711b7f91a2ac644f0df415d18c3e (diff) | |
download | scummvm-rg350-5df29654fc09e882e3581ff3ddfadaceb6e79e43.tar.gz scummvm-rg350-5df29654fc09e882e3581ff3ddfadaceb6e79e43.tar.bz2 scummvm-rg350-5df29654fc09e882e3581ff3ddfadaceb6e79e43.zip |
- 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
Diffstat (limited to 'engines/gob/mult_v2.cpp')
-rw-r--r-- | engines/gob/mult_v2.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
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) { |