hud.h: add missing false default state on use_hotbar_selected_image
authorLoïc Blot <loic.blot@unix-experience.fr>
Mon, 19 Jun 2017 13:41:33 +0000 (15:41 +0200)
committerLoïc Blot <loic.blot@unix-experience.fr>
Mon, 19 Jun 2017 13:41:33 +0000 (15:41 +0200)
src/hud.h

index 3377337cfa72b2888cfed900a99b647713ea34a7..dcbedf6423ff5c21a2c1cebe7bb78a68fb79ef7b 100644 (file)
--- 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,