Biome-defined cave liquids: Use faster biome calculation

This commit is contained in:
paramat 2018-04-26 13:21:58 +01:00 committed by SmallJoker
parent 9d7335a99c
commit bb3baef30f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}