diff options
author | paramat <paramat@users.noreply.github.com> | 2018-04-26 13:21:58 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-04-26 17:28:37 +0200 |
commit | bb3baef30f8afcfec046050b1ef3b606a2c1248a (patch) | |
tree | 49084871350f0b78f00ad6da4d84fcca9a5ba9a2 /src | |
parent | 9d7335a99cf9e88b78f7ca27b697a4a2285d3ab4 (diff) | |
download | minetest-bb3baef30f8afcfec046050b1ef3b606a2c1248a.tar.gz minetest-bb3baef30f8afcfec046050b1ef3b606a2c1248a.tar.bz2 minetest-bb3baef30f8afcfec046050b1ef3b606a2c1248a.zip |
Biome-defined cave liquids: Use faster biome calculation
Diffstat (limited to 'src')
-rw-r--r-- | src/mapgen/cavegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |