diff options
Diffstat (limited to 'src/mapgen_v7.h')
-rw-r--r-- | src/mapgen_v7.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mapgen_v7.h b/src/mapgen_v7.h index 3ba42d7ff..7b08971bb 100644 --- a/src/mapgen_v7.h +++ b/src/mapgen_v7.h @@ -119,11 +119,13 @@ public: }; struct MapgenFactoryV7 : public MapgenFactory { - Mapgen *createMapgen(int mgid, MapgenParams *params, EmergeManager *emerge) { + Mapgen *createMapgen(int mgid, MapgenParams *params, EmergeManager *emerge) + { return new MapgenV7(mgid, params, emerge); }; - MapgenSpecificParams *createMapgenParams() { + MapgenSpecificParams *createMapgenParams() + { return new MapgenV7Params(); }; }; |