diff --git a/source/glest_game/menu/menu_state_custom_game.h b/source/glest_game/menu/menu_state_custom_game.h index f6aef3352..6e0ae96df 100644 --- a/source/glest_game/menu/menu_state_custom_game.h +++ b/source/glest_game/menu/menu_state_custom_game.h @@ -60,7 +60,7 @@ namespace Glest { class GraphicListBoxFactions : public GraphicListBox { private: MenuStateCustomGame * menu; - int index; + int index = 0; public: GraphicListBoxFactions(const std::string &containerName = "", const std::string &objName = ""); void addInformation(MenuStateCustomGame* m, int i);