From 80a762b1a30e983827a2a8aff40b6c758d4496d2 Mon Sep 17 00:00:00 2001 From: flowtron Date: Sun, 27 Jun 2010 18:54:53 +0000 Subject: [PATCH] =?UTF-8?q?fix=20ISO-C++=20compliance=20-=20kudos=20to=20B?= =?UTF-8?q?CFH|=C3=84rkefiende?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5248 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/worldio.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/src/worldio.cpp b/source/src/worldio.cpp index cdd5cb51..190b697e 100644 --- a/source/src/worldio.cpp +++ b/source/src/worldio.cpp @@ -649,7 +649,8 @@ bool load_world(char *mname) // still supports all map formats that have } } loopk(2) mapdims[k+4] = mapdims[k+2] - mapdims[k]; - int mapll[ssize]; // for testing + int *mapll; + mapll = new int[ssize]; // for testing loopj(ssize) { int crc = 0;