1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Update InfoWindows.cpp

This commit is contained in:
George King
2025-09-03 13:37:26 +02:00
committed by GitHub
parent 0357cfcba5
commit 36a51228e6

View File

@@ -316,13 +316,13 @@ CInfoBoxPopup::CInfoBoxPopup(Point position, const CGHeroInstance * hero)
}
CInfoBoxPopup::CInfoBoxPopup(Point position, const CGGarrison * garr)
: AdventureMapPopup(RCLICK_POPUP | PLAYER_COLORED, ImagePath::builtin("TOWNQVBK"), position)
: AdventureMapPopup(RCLICK_POPUP | PLAYER_COLORED, ImagePath::builtin("GARRIPOP"), position)
{
InfoAboutTown iah;
GAME->interface()->cb->getTownInfo(garr, iah);
OBJECT_CONSTRUCTION;
tooltip = std::make_shared<CArmyTooltip>(Point(9, 10), iah);
tooltip = std::make_shared<CGarrisonTooltip>(Point(9, 10), iah);
addUsedEvents(DRAG_POPUP);