aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen_valleys.h
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2019-03-25 16:42:53 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2019-03-31 20:49:39 +0200
commitb55fc3d773e2049d99a01ea2aa4e37774e81410b (patch)
tree13215d9ff90bca74542984e7f7726b70bca69829 /src/mapgen/mapgen_valleys.h
parentb3716a03a6d47058b50acfc71c861ecfea5f80ad (diff)
downloadhax-minetest-server-b55fc3d773e2049d99a01ea2aa4e37774e81410b.tar.gz
hax-minetest-server-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 '')
-rw-r--r--src/mapgen/mapgen_valleys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen/mapgen_valleys.h b/src/mapgen/mapgen_valleys.h
index 06920a477..fd40b5bab 100644
--- a/src/mapgen/mapgen_valleys.h
+++ b/src/mapgen/mapgen_valleys.h
@@ -79,7 +79,7 @@ struct MapgenValleysParams : public MapgenParams {
class MapgenValleys : public MapgenBasic {
public:
- MapgenValleys(int mapgenid, MapgenValleysParams *params,
+ MapgenValleys(MapgenValleysParams *params,
EmergeManager *emerge);
~MapgenValleys();