1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

EmergeManager::initMapgens use FATAL_ERROR if and drop boolean return

We never handle the boolean return, also init twice is a coding error, not a runtime error
This commit is contained in:
Loïc Blot 2019-03-25 16:38:35 +01:00 committed by Loïc Blot
parent ab322fc5aa
commit b3716a03a6
2 changed files with 8 additions and 13 deletions

View file

@ -117,7 +117,7 @@ public:
~EmergeManager();
DISABLE_CLASS_COPY(EmergeManager);
bool initMapgens(MapgenParams *mgparams);
void initMapgens(MapgenParams *mgparams);
void startThreads();
void stopThreads();