aboutsummaryrefslogtreecommitdiff
path: root/src/tools/map_extractor
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/map_extractor')
-rw-r--r--src/tools/map_extractor/System.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp
index 2fdfe85c91a..bde10bc6fe0 100644
--- a/src/tools/map_extractor/System.cpp
+++ b/src/tools/map_extractor/System.cpp
@@ -878,7 +878,10 @@ bool ConvertADT(ChunkedFile& adt, std::string const& mapName, std::string const&
if (minHeight > h) minHeight = h;
}
else
+ {
liquid_height[y][x] = CONF_use_minHeight;
+ if (minHeight > CONF_use_minHeight) minHeight = CONF_use_minHeight;
+ }
}
}
map.liquidMapOffset = map.heightMapOffset + map.heightMapSize;