mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 14:42:24 +01:00
Fix compile error (MSVC2010).
This commit is contained in:
parent
97260d09a8
commit
86b33c4922
@ -179,7 +179,7 @@ void EmergeManager::setParamsToSettings(Settings *settings) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool EmergeManager::registerMapgen(std::string mgname, MapgenFactory *mgfactory) {
|
void EmergeManager::registerMapgen(std::string mgname, MapgenFactory *mgfactory) {
|
||||||
mglist.insert(std::make_pair(mgname, mgfactory));
|
mglist.insert(std::make_pair(mgname, mgfactory));
|
||||||
infostream << "EmergeManager: registered mapgen " << mgname << std::endl;
|
infostream << "EmergeManager: registered mapgen " << mgname << std::endl;
|
||||||
}
|
}
|
||||||
|
@ -122,7 +122,7 @@ public:
|
|||||||
Mapgen *getMapgen();
|
Mapgen *getMapgen();
|
||||||
void addBlockToQueue();
|
void addBlockToQueue();
|
||||||
|
|
||||||
bool registerMapgen(std::string name, MapgenFactory *mgfactory);
|
void registerMapgen(std::string name, MapgenFactory *mgfactory);
|
||||||
MapgenParams *getParamsFromSettings(Settings *settings);
|
MapgenParams *getParamsFromSettings(Settings *settings);
|
||||||
void setParamsToSettings(Settings *settings);
|
void setParamsToSettings(Settings *settings);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user