diff --git a/client/mainmenu/CCampaignScreen.h b/client/mainmenu/CCampaignScreen.h index 00939de0c..10f744fc3 100644 --- a/client/mainmenu/CCampaignScreen.h +++ b/client/mainmenu/CCampaignScreen.h @@ -56,17 +56,17 @@ private: std::vector> campButtons; std::vector> images; std::shared_ptr buttonBack; - std::shared_ptr buttonNext; - std::shared_ptr buttonPrev; + std::shared_ptr buttonNext; + std::shared_ptr buttonPrev; std::shared_ptr createExitButton(const JsonNode & button); - int campaignsPerPage = 8; - int currentPage = 0; - int maxPages = 0; + int campaignsPerPage = 8; + int currentPage = 0; + int maxPages = 0; - void switchPage(int delta, const std::string& campaignSet); - void updateCampaignButtons(const JsonNode& parentConfig, const std::string& campaignSet); + void switchPage(int delta, const std::string& campaignSet); + void updateCampaignButtons(const JsonNode& parentConfig, const std::string& campaignSet); public: CCampaignScreen(const JsonNode & config, std::string campaignSet);