diff --git a/client/windows/CCastleInterface.cpp b/client/windows/CCastleInterface.cpp index 1b19a1806..b11349b33 100644 --- a/client/windows/CCastleInterface.cpp +++ b/client/windows/CCastleInterface.cpp @@ -359,9 +359,9 @@ void CHeroGSlot::gesture(bool on, const Point & initialPosition, const Point & f ony += [=](){ LOCPLINT->cb->dismissHero(hero); }; LOCPLINT->showYesNoDialog(CGI->generaltexth->allTexts[22], ony, nullptr); } }, - }; + }; - GH.windows().createAndPushWindow(pos.center(), menuElements); + GH.windows().createAndPushWindow(pos.center(), menuElements); } void CHeroGSlot::hover(bool on) diff --git a/client/windows/CCastleInterface.h b/client/windows/CCastleInterface.h index 0601605f8..4f1339249 100644 --- a/client/windows/CCastleInterface.h +++ b/client/windows/CCastleInterface.h @@ -155,7 +155,7 @@ class CCastleBuildings : public CIntObject void enterCastleGate(); void enterFountain(const BuildingID & building, BuildingSubID::EBuildingSubID subID, BuildingID upgrades);//Rampart's fountains void enterMagesGuild(); - + void openMagesGuild(); void openTownHall(); @@ -229,7 +229,7 @@ class CCastleInterface : public CStatusbarWindow, public IGarrisonHolder std::shared_ptr split; std::shared_ptr fastTownHall; std::shared_ptr fastArmyPurchase; - + std::vector> creainfo;//small icons of creatures (bottom-left corner); public: