Skip to content

Commit

Permalink
Biome-defined dungeon nodes: Use faster biome calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat authored and SmallJoker committed Apr 26, 2018
1 parent f23dd62 commit 9d7335a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapgen/mapgen.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 9d7335a

Please sign in to comment.