Remove the init thread

It seems to cause problems on Linux and no benefit of it could be observed on Windows or Mac
This commit is contained in:
2020-01-12 17:29:21 -05:00
parent fb28a4da2e
commit 44f18420bd

View File

@@ -171,18 +171,15 @@ void init_boe(int argc, char* argv[]) {
mainPtr.display();
set_cursor(watch_curs);
boost::thread init_thread([]() {
init_buf();
check_for_intel();
srand(time(nullptr));
init_screen_locs();
init_startup();
flushingInput = true;
});
init_buf();
check_for_intel();
srand(time(nullptr));
init_screen_locs();
init_startup();
flushingInput = true;
show_logo();
if(get_bool_pref("ShowStartupSplash", true))
plop_fancy_startup();
init_thread.join();
cUniverse::print_result = iLiving::print_result = add_string_to_buf;
cPlayer::give_help = give_help;