projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af95cfc
)
constant size for array for vc
author
Perttu Ahola
<celeron55@gmail.com>
Mon, 29 Nov 2010 09:01:18 +0000
(11:01 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 29 Nov 2010 09:01:18 +0000
(11:01 +0200)
src/map.cpp
patch
|
blob
|
history
diff --git
a/src/map.cpp
b/src/map.cpp
index 33f40f064a30d6dfc200650d8f36048626500fcd..f5b63d5af5a06532d029a34f55f3f33e9e1d050a 100644
(file)
--- 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++)
{