*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@473 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-05 18:35:19 +00:00
parent 1802cace77
commit 70206b3bce
22 changed files with 210 additions and 218 deletions
+2 -2
View File
@@ -309,7 +309,7 @@ void setupworld(int factor)
ssize = 1<<(sfactor = factor);
cubicsize = ssize*ssize;
mipsize = cubicsize*134/100;
sqr *w = world = (sqr *)alloc(mipsize*sizeof(sqr));
sqr *w = world = new sqr[mipsize];
loopi(LARGEST_FACTOR*2) { wmip[i] = w; w += cubicsize>>(i*2); };
};
@@ -371,7 +371,7 @@ void empty_world(int factor, bool force) // main empty world creation routine
startmap("maps/unnamed");
if(oldworld)
{
free(oldworld);
delete[] oldworld;
toggleedit();
execfile("config/default_map_settings.cfg");
execute("fullbright 1");