aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_indev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_indev.h')
-rw-r--r--src/mapgen_indev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapgen_indev.h b/src/mapgen_indev.h
index 7ce65dfe3..fdac1ba20 100644
--- a/src/mapgen_indev.h
+++ b/src/mapgen_indev.h
@@ -126,7 +126,7 @@ class MapgenIndev : public MapgenV6 {
NoiseIndev *noiseindev_float_islands2;
NoiseIndev *noiseindev_float_islands3;
- MapgenIndev(int mapgenid, MapgenIndevParams *params);
+ MapgenIndev(int mapgenid, MapgenIndevParams *params, EmergeManager *emerge);
~MapgenIndev();
void calculateNoise();
@@ -141,7 +141,7 @@ class MapgenIndev : public MapgenV6 {
struct MapgenFactoryIndev : public MapgenFactoryV6 {
Mapgen *createMapgen(int mgid, MapgenParams *params, EmergeManager *emerge) {
- return new MapgenIndev(mgid, (MapgenIndevParams *)params);
+ return new MapgenIndev(mgid, (MapgenIndevParams *)params, emerge);
};
MapgenParams *createMapgenParams() {