mirror of
https://github.com/minetest/minetest.git
synced 2025-06-30 23:20:22 +02:00
mapgen: drop mapgen id from child mapgens.
This id must be owned by the child mapgen and never be set to a misc value by a developer Also use nullptr in some places
This commit is contained in:
@ -79,7 +79,7 @@ struct MapgenValleysParams : public MapgenParams {
|
||||
class MapgenValleys : public MapgenBasic {
|
||||
public:
|
||||
|
||||
MapgenValleys(int mapgenid, MapgenValleysParams *params,
|
||||
MapgenValleys(MapgenValleysParams *params,
|
||||
EmergeManager *emerge);
|
||||
~MapgenValleys();
|
||||
|
||||
|
Reference in New Issue
Block a user