From efcf6b71d77e7ccc73ff839c42d8a3244039ca9f Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Sun, 15 Oct 2023 12:58:07 +0200 Subject: [PATCH] formatting --- client/windows/CCastleInterface.cpp | 4 ++-- client/windows/CCastleInterface.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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: