aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_fractal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_fractal.cpp')
-rw-r--r--src/mapgen_fractal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapgen_fractal.cpp b/src/mapgen_fractal.cpp
index 13da2f180..720408dbb 100644
--- a/src/mapgen_fractal.cpp
+++ b/src/mapgen_fractal.cpp
@@ -156,7 +156,8 @@ int MapgenFractal::getSpawnLevelAtPoint(v2s16 p)
air_count = 0;
} else if (solid_below) { // Air above solid node
air_count++;
- if (air_count == 2)
+ // 3 to account for snowblock dust
+ if (air_count == 3)
return y - 2;
}
}