mirror of
https://github.com/minetest/minetest.git
synced 2024-08-18 20:44:16 +02:00
constant size for array for vc
This commit is contained in:
parent
af95cfc7a1
commit
b326e75baa
@ -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++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user