From b85bb6ec0afd01f6cc27f729c69fb3b1007b7bf5 Mon Sep 17 00:00:00 2001 From: FeniksFire Date: Mon, 15 Jan 2018 18:00:41 +0100 Subject: [PATCH] Fix positioning Fix problem for costBacground in QuickRecruitmentWindow. Position "y" there was scaled which lead to errors with different resolutions. --- client/windows/QuickRecruitmentWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/windows/QuickRecruitmentWindow.cpp b/client/windows/QuickRecruitmentWindow.cpp index ccedf437d..e9e82e50e 100644 --- a/client/windows/QuickRecruitmentWindow.cpp +++ b/client/windows/QuickRecruitmentWindow.cpp @@ -73,7 +73,7 @@ void QuickRecruitmentWindow::initWindow(Rect startupPosition) pos.x -= 55 * (creaturesAmount - 3); } backgroundTexture = std::make_shared("DIBOXBCK.pcx", Rect(0, 0, pos.w, pos.h)); - costBackground = std::make_shared("QuickRecruitmentWindow/costBackground.png", pos.w/2-113, pos.y+290); + costBackground = std::make_shared("QuickRecruitmentWindow/costBackground.png", pos.w/2-113, 335); } void QuickRecruitmentWindow::maxAllCards(std::vector > cards)