diff options
author | Loïc Blot <loic.blot@unix-experience.fr> | 2019-03-25 16:42:53 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2019-03-31 20:49:39 +0200 |
commit | b55fc3d773e2049d99a01ea2aa4e37774e81410b (patch) | |
tree | 13215d9ff90bca74542984e7f7726b70bca69829 /src/mapgen/mapgen_v7.h | |
parent | b3716a03a6d47058b50acfc71c861ecfea5f80ad (diff) | |
download | minetest-b55fc3d773e2049d99a01ea2aa4e37774e81410b.tar.gz minetest-b55fc3d773e2049d99a01ea2aa4e37774e81410b.tar.bz2 minetest-b55fc3d773e2049d99a01ea2aa4e37774e81410b.zip |
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
Diffstat (limited to 'src/mapgen/mapgen_v7.h')
-rw-r--r-- | src/mapgen/mapgen_v7.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen/mapgen_v7.h b/src/mapgen/mapgen_v7.h index b55c80d3a..f61da2b79 100644 --- a/src/mapgen/mapgen_v7.h +++ b/src/mapgen/mapgen_v7.h @@ -77,7 +77,7 @@ struct MapgenV7Params : public MapgenParams { class MapgenV7 : public MapgenBasic { public: - MapgenV7(int mapgenid, MapgenV7Params *params, EmergeManager *emerge); + MapgenV7(MapgenV7Params *params, EmergeManager *emerge); ~MapgenV7(); virtual MapgenType getType() const { return MAPGEN_V7; } |