From: Perttu Ahola Date: Mon, 29 Nov 2010 09:01:18 +0000 (+0200) Subject: constant size for array for vc X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=b326e75baac47c616913b91b94ff542f0d3c4f92;p=zefram%2Fminetest%2Fminetest_engine.git constant size for array for vc --- diff --git a/src/map.cpp b/src/map.cpp index 33f40f06..f5b63d5a 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1641,7 +1641,7 @@ MapBlock * ServerMap::emergeBlock( if(rand() % 4 == 0) low_block_is_empty = true;*/ - s32 ued = 4; + const s32 ued = 4; bool underground_emptiness[ued*ued*ued]; for(s32 i=0; i