Browse Source

Update InfoWindows.cpp

George King 3 tháng trước cách đây
mục cha
commit
36a51228e6
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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);