aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuozas Pocius <juozaspo@gmail.com>2017-08-02 16:40:38 +0300
committerSmallJoker <mk939@ymail.com>2018-06-03 17:31:59 +0200
commite5311a4d565dece751745f859ac1b8d92da67564 (patch)
tree6d1965096de2dc887cf5468d27f45ef9d54559d8
parent4be7d8b43a68664b6c349918ab79174ec6a3a24c (diff)
downloadminetest-e5311a4d565dece751745f859ac1b8d92da67564.tar.gz
minetest-e5311a4d565dece751745f859ac1b8d92da67564.tar.bz2
minetest-e5311a4d565dece751745f859ac1b8d92da67564.zip
Fix crash when using --go in command line
-rw-r--r--src/client/clientlauncher.h2
1 files changed, 1 insertions, 1 deletions
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