aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-28 22:13:17 +0000
committerJohannes Schickel2009-05-28 22:13:17 +0000
commit212271f1cecee7c6c89600cc68b364f991efa2e6 (patch)
tree724f58191c10320c9223c2a06decf9667c989aa2
parenta8748bc45c5d2b5ac458bfac76db74d80c234033 (diff)
downloadscummvm-rg350-212271f1cecee7c6c89600cc68b364f991efa2e6.tar.gz
scummvm-rg350-212271f1cecee7c6c89600cc68b364f991efa2e6.tar.bz2
scummvm-rg350-212271f1cecee7c6c89600cc68b364f991efa2e6.zip
Fix mismatching new/delete[]
svn-id: r40967
-rw-r--r--engines/kyra/lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 6a8bb3d3ff..46a3bcdb82 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -2427,7 +2427,7 @@ void LoLEngine::processMagicFireball(int charNum, int spellLevel) {
}
for (i = 0; i < numFireBalls; i++)
- delete[] fireballState[i];
+ delete fireballState[i];
_screen->setCurPage(cp);
_screen->copyPage(12, 0);