projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f23dd62
)
Biome-defined dungeon nodes: Use faster biome calculation
author
paramat
<paramat@users.noreply.github.com>
Thu, 26 Apr 2018 12:33:12 +0000
(13:33 +0100)
committer
SmallJoker
<mk939@ymail.com>
Thu, 26 Apr 2018 15:27:06 +0000
(17:27 +0200)
src/mapgen/mapgen.cpp
patch
|
blob
|
history
diff --git
a/src/mapgen/mapgen.cpp
b/src/mapgen/mapgen.cpp
index 9562482c804d70afe006e58cc30a4a1253deed28..9aaead79d23c36b5b57f2647be19e5614ca41cad 100644
(file)
--- 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->
calc
BiomeAtPoint(chunk_mid);
+ Biome *biome = (Biome *)biomegen->
get
BiomeAtPoint(chunk_mid);
DungeonParams dp;