Browse Source

Update InfoWindows.cpp

George King 1 month ago
parent
commit
36a51228e6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      client/windows/InfoWindows.cpp

+ 2 - 2
client/windows/InfoWindows.cpp

@@ -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);