diff options
| author | Lars Persson | 2006-05-31 20:19:03 +0000 | 
|---|---|---|
| committer | Lars Persson | 2006-05-31 20:19:03 +0000 | 
| commit | 0044ef7be11e50c7b67b5564360a2955f9953eea (patch) | |
| tree | 614be8238e8fea45c5cc7996c15d752c60835301 | |
| parent | 9472476acbf10b060627f209dc9afcb7284e8516 (diff) | |
| download | scummvm-rg350-0044ef7be11e50c7b67b5564360a2955f9953eea.tar.gz scummvm-rg350-0044ef7be11e50c7b67b5564360a2955f9953eea.tar.bz2 scummvm-rg350-0044ef7be11e50c7b67b5564360a2955f9953eea.zip | |
Fixed deletion statement as it was deleting arrays(CW compiler was complaining). 
svn-id: r22810
| -rw-r--r-- | engines/gob/goblin.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engines/gob/goblin.cpp b/engines/gob/goblin.cpp index 29d8ed38bd..3085dfa81b 100644 --- a/engines/gob/goblin.cpp +++ b/engines/gob/goblin.cpp @@ -174,7 +174,7 @@ Goblin::~Goblin() {  					for (col = 0; col < 6; col++)  						if (_goblins[i]->stateMach[state][col])  							delete _goblins[i]->stateMach[state][col]; -				delete _goblins[i]->stateMach; +				delete []_goblins[i]->stateMach;  			}  			delete _goblins[i];  		} @@ -186,7 +186,7 @@ Goblin::~Goblin() {  					for (col = 0; col < 6; col++)  						if (_objects[i]->stateMach[state][col])  							delete _objects[i]->stateMach[state][col]; -				delete _objects[i]->stateMach; +				delete []_objects[i]->stateMach;  			}  			delete _objects[i];  		} | 
