aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-11-29 11:01:18 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-11-29 11:01:18 +0200
commitb326e75baac47c616913b91b94ff542f0d3c4f92 (patch)
tree06730eee500f5ec77ec169c9f21a4c215eb71f78 /src/map.cpp
parentaf95cfc7a15788386d055a5b4a7377673d36b8bf (diff)
downloadminetest-b326e75baac47c616913b91b94ff542f0d3c4f92.tar.gz
minetest-b326e75baac47c616913b91b94ff542f0d3c4f92.tar.bz2
minetest-b326e75baac47c616913b91b94ff542f0d3c4f92.zip
constant size for array for vc
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 33f40f064..f5b63d5af 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<ued*ued*ued; i++)
{