1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

fix window

This commit is contained in:
Laserlicht
2024-11-23 19:19:07 +01:00
parent a4417f3fc5
commit 6366175a3c
4 changed files with 14 additions and 17 deletions

View File

@@ -456,7 +456,7 @@ void CHeroGSlot::showPopupWindow(const Point & cursorPosition)
{
if(hero)
{
GH.windows().createAndPushWindow<CInfoBoxPopup>(Point(pos.x + 175, pos.y + 100), hero);
GH.windows().createAndPushWindow<CInfoBoxPopup>(pos.center(), hero);
}
}