mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
MapgenBasic: Add lava source as commonly used content (#5512)
Future mapgens are likely to use this for magma and volcanos. Remove the getting of lava source content id in mgvalleys.
This commit is contained in:
parent
563199698d
commit
b8a4c95971
4 changed files with 4 additions and 7 deletions
|
@ -107,9 +107,6 @@ MapgenValleys::MapgenValleys(int mapgenid, MapgenValleysParams *params, EmergeMa
|
|||
this->lava_max_height = water_level + MYMAX(0, lava_features_lim - 4) * 50;
|
||||
|
||||
tcave_cache = new float[csize.Y + 2];
|
||||
|
||||
// Resolve content to be used
|
||||
c_lava_source = ndef->getId("mapgen_lava_source");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue