From 0e25e544e37ada66874527e8152c66142c59ad08 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 20 Nov 2008 21:23:45 +0000 Subject: [PATCH] delete type fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3690 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/editing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/editing.cpp b/source/src/editing.cpp index d60a708e..d204a654 100644 --- a/source/src/editing.cpp +++ b/source/src/editing.cpp @@ -203,7 +203,7 @@ void pruneundos(int maxremain) // bound memory loopvrev(undos) { t += undos[i]->xs*undos[i]->ys*sizeof(sqr); - if(t>maxremain) delete undos.remove(i); + if(t>maxremain) delete[] (uchar *)undos.remove(i); } }