Skip to content
Permalink
Browse files

Biome-defined dungeon nodes: Use faster biome calculation

  • Loading branch information
paramat authored and SmallJoker committed Apr 26, 2018
1 parent f23dd62 commit 9d7335a99cf9e88b78f7ca27b697a4a2285d3ab4
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 9d7335a

Please sign in to comment.