From cf1968033c6eef2053281a96a9ce0a04e36c7725 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 30 Nov 2006 23:06:26 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@755 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/world.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/src/world.cpp b/source/src/world.cpp index d09781e2..e319dc8e 100644 --- a/source/src/world.cpp +++ b/source/src/world.cpp @@ -310,6 +310,7 @@ void setupworld(int factor) cubicsize = ssize*ssize; mipsize = cubicsize*134/100; sqr *w = world = new sqr[mipsize]; + memset(world, 0, mipsize*sizeof(sqr)); loopi(LARGEST_FACTOR*2) { wmip[i] = w; w += cubicsize>>(i*2); }; };