constant size for array for vc

master
Perttu Ahola 2010-11-29 11:01:18 +02:00
parent af95cfc7a1
commit b326e75baa
1 changed files with 1 additions and 1 deletions

View File

@ -1641,7 +1641,7 @@ MapBlock * ServerMap::emergeBlock(
if(rand() % 4 == 0) if(rand() % 4 == 0)
low_block_is_empty = true;*/ low_block_is_empty = true;*/
s32 ued = 4; const s32 ued = 4;
bool underground_emptiness[ued*ued*ued]; bool underground_emptiness[ued*ued*ued];
for(s32 i=0; i<ued*ued*ued; i++) for(s32 i=0; i<ued*ued*ued; i++)
{ {