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:
parent
ab322fc5aa
commit
b3716a03a6
2 changed files with 8 additions and 13 deletions
|
@ -117,7 +117,7 @@ public:
|
|||
~EmergeManager();
|
||||
DISABLE_CLASS_COPY(EmergeManager);
|
||||
|
||||
bool initMapgens(MapgenParams *mgparams);
|
||||
void initMapgens(MapgenParams *mgparams);
|
||||
|
||||
void startThreads();
|
||||
void stopThreads();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue