Increase value range of Ore::clust_scarcity
authorkwolekr <kwolekr@minetest.net>
Sun, 31 Mar 2013 16:25:38 +0000 (12:25 -0400)
committerkwolekr <kwolekr@minetest.net>
Sun, 31 Mar 2013 16:26:25 +0000 (12:26 -0400)
src/mapgen.h

index a900985da5bfbb44586e646d747d0e1a1bc2ffce..ee8a8c20c7ef91a960ceaf6a8fad03072e8c2007 100644 (file)
@@ -110,7 +110,7 @@ public:
 
        content_t ore;
        content_t wherein;  // the node to be replaced
-       s16 clust_scarcity; //
+       u32 clust_scarcity; // ore cluster has a 1-in-clust_scarcity chance of appearing at a node
        s16 clust_num_ores; // how many ore nodes are in a chunk
        s16 clust_size;     // how large (in nodes) a chunk of ore is
        s16 height_min;