From: Juozas Pocius Date: Wed, 2 Aug 2017 13:40:38 +0000 (+0300) Subject: Fix crash when using --go in command line X-Git-Tag: 5.0.0~983 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=80ded73f68ddd90cbf4d3b445f12ed8d94682d7f;p=oweals%2Fminetest.git Fix crash when using --go in command line --- diff --git a/src/client/clientlauncher.h b/src/client/clientlauncher.h index 8f8a01e2f..dd5e6b8d6 100644 --- a/src/client/clientlauncher.h +++ b/src/client/clientlauncher.h @@ -60,7 +60,7 @@ protected: gui::IGUIFont *font = nullptr; SubgameSpec gamespec; WorldSpec worldspec; - bool simple_singleplayer_mode; + bool simple_singleplayer_mode = false; // These are set up based on the menu and other things // TODO: Are these required since there's already playername, password, etc