diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp index 82317aec5..2a92f6733 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -4711,6 +4711,9 @@ plan_b: /* Plan B: Get from map generator perlin noise function */ + // This won't work if proper generation is disabled + if(m_chunksize == 0) + return WATER_LEVEL+2; double level = base_rock_level_2d(m_seed, p2d); return (s16)level; } |