Fix crash when using --go in command line
authorJuozas Pocius <juozaspo@gmail.com>
Wed, 2 Aug 2017 13:40:38 +0000 (16:40 +0300)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000 (17:31 +0200)
src/client/clientlauncher.h

index 4ff77bc03e650c6b9670549458a6bcd5f2927a3c..3d82b9cdca2f3c5715a653e6a9783fe978937797 100644 (file)
@@ -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