summaryrefslogtreecommitdiff
path: root/src/mapgen_v6.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-01-12 18:20:53 -0500
committerkwolekr <kwolekr@minetest.net>2014-01-12 18:21:28 -0500
commita358c040f2d6d1fe6825121bf8ab57ceb5865cc9 (patch)
tree1e894130c334ab50d360e8fc2d4702d520cc7206 /src/mapgen_v6.cpp
parent676f34a02be17d898ea45b1b05be72bfcfcd588e (diff)
downloadminetest-a358c040f2d6d1fe6825121bf8ab57ceb5865cc9.tar.gz
minetest-a358c040f2d6d1fe6825121bf8ab57ceb5865cc9.tar.bz2
minetest-a358c040f2d6d1fe6825121bf8ab57ceb5865cc9.zip
Mapgen V6: Add flag to stop mud flow
Diffstat (limited to 'src/mapgen_v6.cpp')
-rw-r--r--src/mapgen_v6.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp
index 3e152861c..a27ca2e0a 100644
--- a/src/mapgen_v6.cpp
+++ b/src/mapgen_v6.cpp
@@ -439,7 +439,8 @@ void MapgenV6::makeChunk(BlockMakeData *data) {
addDirtGravelBlobs();
// Flow mud away from steep edges
- flowMud(mudflow_minpos, mudflow_maxpos);
+ if (!(flags & MGV6_NOMUDFLOW))
+ flowMud(mudflow_minpos, mudflow_maxpos);
}