mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Update InfoWindows.cpp
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user