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,