From bb3baef30f8afcfec046050b1ef3b606a2c1248a Mon Sep 17 00:00:00 2001 From: paramat Date: Thu, 26 Apr 2018 13:21:58 +0100 Subject: [PATCH] Biome-defined cave liquids: Use faster biome calculation --- src/mapgen/cavegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapgen/cavegen.cpp b/src/mapgen/cavegen.cpp index e7b98e84f..60aefb14d 100644 --- a/src/mapgen/cavegen.cpp +++ b/src/mapgen/cavegen.cpp @@ -507,7 +507,7 @@ void CavesRandomWalk::carveRoute(v3f vec, float f, bool randomize_xz) MapNode liquidnode = CONTENT_IGNORE; if (bmgn) { - Biome *biome = (Biome *)bmgn->calcBiomeAtPoint(cpabs); + Biome *biome = (Biome *)bmgn->getBiomeAtPoint(cpabs); if (biome->c_cave_liquid != CONTENT_IGNORE) liquidnode = biome->c_cave_liquid; } -- 2.25.1