diff options
author | paramat <paramat@users.noreply.github.com> | 2018-04-26 13:33:12 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-04-26 17:27:06 +0200 |
commit | 9d7335a99cf9e88b78f7ca27b697a4a2285d3ab4 (patch) | |
tree | e25b4e848ac57d867fffaa0f519057e7503aeb9a /src | |
parent | f23dd62e2f66bfd1a502720d8f86d04ce5db14e0 (diff) | |
download | minetest-9d7335a99cf9e88b78f7ca27b697a4a2285d3ab4.tar.gz minetest-9d7335a99cf9e88b78f7ca27b697a4a2285d3ab4.tar.bz2 minetest-9d7335a99cf9e88b78f7ca27b697a4a2285d3ab4.zip |
Biome-defined dungeon nodes: Use faster biome calculation
Diffstat (limited to 'src')
-rw-r--r-- | src/mapgen/mapgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen/mapgen.cpp b/src/mapgen/mapgen.cpp index 9562482c8..9aaead79d 100644 --- a/src/mapgen/mapgen.cpp +++ b/src/mapgen/mapgen.cpp @@ -868,7 +868,7 @@ void MapgenBasic::generateDungeons(s16 max_stone_y) // Get biome at mapchunk midpoint v3s16 chunk_mid = node_min + (node_max - node_min) / v3s16(2, 2, 2); - Biome *biome = (Biome *)biomegen->calcBiomeAtPoint(chunk_mid); + Biome *biome = (Biome *)biomegen->getBiomeAtPoint(chunk_mid); DungeonParams dp; |