mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-19 19:25:18 +02: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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user