1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Mapgen V6: Add flag to stop mud flow

This commit is contained in:
kwolekr 2014-01-12 18:20:53 -05:00
parent 676f34a02b
commit a358c040f2
3 changed files with 4 additions and 1 deletions

View file

@ -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);
}