Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git] / src / cavegen.h
index 7230cf6db51f1f0f9601effedcbafc3c4b93a989..db3e091f6f3fd6a8fb404ae5548d9d1d2c432c2e 100644 (file)
@@ -156,8 +156,7 @@ public:
        CavesRandomWalk(INodeDefManager *ndef, GenerateNotifier *gennotify = NULL,
                        s32 seed = 0, int water_level = 1,
                        content_t water_source = CONTENT_IGNORE,
-                       content_t lava_source = CONTENT_IGNORE,
-                       int lava_depth = -256);
+                       content_t lava_source = CONTENT_IGNORE, int lava_depth = -256);
 
        // vm and ps are mandatory parameters.
        // If heightmap is NULL, the surface level at all points is assumed to