aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuozas Pocius <juozaspo@gmail.com>2017-08-02 16:40:38 +0300
committersfan5 <sfan5@live.de>2017-08-03 14:03:15 +0200
commit80ded73f68ddd90cbf4d3b445f12ed8d94682d7f (patch)
tree5a4b571f1be6f823408160bef7d848f7fc580015
parentb20d01a3f19ea7ad1e788077af1ed5769648e3a1 (diff)
downloadminetest-80ded73f68ddd90cbf4d3b445f12ed8d94682d7f.tar.gz
minetest-80ded73f68ddd90cbf4d3b445f12ed8d94682d7f.tar.bz2
minetest-80ded73f68ddd90cbf4d3b445f12ed8d94682d7f.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 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