]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
constant size for array for vc
authorPerttu Ahola <celeron55@gmail.com>
Mon, 29 Nov 2010 09:01:18 +0000 (11:01 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 29 Nov 2010 09:01:18 +0000 (11:01 +0200)
src/map.cpp

index 33f40f064a30d6dfc200650d8f36048626500fcd..f5b63d5af5a06532d029a34f55f3f33e9e1d050a 100644 (file)
@@ -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++)
        {