diff options
author | Perttu Ahola <celeron55@gmail.com> | 2010-11-29 11:01:18 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2010-11-29 11:01:18 +0200 |
commit | b326e75baac47c616913b91b94ff542f0d3c4f92 (patch) | |
tree | 06730eee500f5ec77ec169c9f21a4c215eb71f78 | |
parent | af95cfc7a15788386d055a5b4a7377673d36b8bf (diff) | |
download | minetest-b326e75baac47c616913b91b94ff542f0d3c4f92.tar.gz minetest-b326e75baac47c616913b91b94ff542f0d3c4f92.tar.bz2 minetest-b326e75baac47c616913b91b94ff542f0d3c4f92.zip |
constant size for array for vc
-rw-r--r-- | src/map.cpp | 2 |
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++) { |