From b326e75baac47c616913b91b94ff542f0d3c4f92 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 29 Nov 2010 11:01:18 +0200 Subject: constant size for array for vc --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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