summaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2017-06-19 15:41:33 +0200
committerLoïc Blot <loic.blot@unix-experience.fr>2017-06-19 15:41:33 +0200
commit071736ba3f99c9827af074bed3b3ff84c05e0d51 (patch)
treec81e0b47932349fffd50e1a0b849455a30895e70 /src/hud.h
parent53acc32bee75e6eb8788ab5eb926243648ad191c (diff)
downloadminetest-071736ba3f99c9827af074bed3b3ff84c05e0d51.tar.gz
minetest-071736ba3f99c9827af074bed3b3ff84c05e0d51.tar.bz2
minetest-071736ba3f99c9827af074bed3b3ff84c05e0d51.zip
hud.h: add missing false default state on use_hotbar_selected_image
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hud.h b/src/hud.h
index 3377337cf..dcbedf642 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -118,7 +118,7 @@ public:
std::string hotbar_image = "";
bool use_hotbar_image = false;
std::string hotbar_selected_image = "";
- bool use_hotbar_selected_image;
+ bool use_hotbar_selected_image = false;
Hud(video::IVideoDriver *driver,scene::ISceneManager* smgr,
gui::IGUIEnvironment* guienv, Client *client, LocalPlayer *player,