From e5311a4d565dece751745f859ac1b8d92da67564 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 4ff77bc03..3d82b9cdc 100644 --- a/src/client/clientlauncher.h +++ b/src/client/clientlauncher.h @@ -81,7 +81,7 @@ protected: scene::ISceneManager *smgr; 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