From 80ded73f68ddd90cbf4d3b445f12ed8d94682d7f Mon Sep 17 00:00:00 2001 From: Juozas Pocius Date: Wed, 2 Aug 2017 16:40:38 +0300 Subject: [PATCH] Fix crash when using --go in command line --- src/client/clientlauncher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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