Skip to content
Snippets Groups Projects
Commit b326e75b authored by Perttu Ahola's avatar Perttu Ahola
Browse files

constant size for array for vc

parent af95cfc7
Branches
Tags
No related merge requests found
......@@ -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++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment