Fix compile error (MSVC2010).

This commit is contained in:
Ilya Zhuravlev 2013-02-07 16:17:55 +04:00
parent 97260d09a8
commit 86b33c4922
2 changed files with 2 additions and 2 deletions

@ -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));
infostream << "EmergeManager: registered mapgen " << mgname << std::endl;
}

@ -122,7 +122,7 @@ public:
Mapgen *getMapgen();
void addBlockToQueue();
bool registerMapgen(std::string name, MapgenFactory *mgfactory);
void registerMapgen(std::string name, MapgenFactory *mgfactory);
MapgenParams *getParamsFromSettings(Settings *settings);
void setParamsToSettings(Settings *settings);