Explorar o código

Merge pull request #3882 from SoundSSGood/market-window-fix

Cosmetic market window fix
Ivan Savenko hai 1 ano
pai
achega
20a163554d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/windows/CMarketWindow.cpp

+ 1 - 1
client/windows/CMarketWindow.cpp

@@ -203,7 +203,7 @@ void CMarketWindow::createArtifactsSelling(const IMarket * market, const CGHeroI
 	background = createBg(ImagePath::builtin("TPMRKASS.bmp"), PLAYER_COLORED);
 	background = createBg(ImagePath::builtin("TPMRKASS.bmp"), PLAYER_COLORED);
 	// Create image that copies part of background containing slot MISC_1 into position of slot MISC_5
 	// Create image that copies part of background containing slot MISC_1 into position of slot MISC_5
 	artSlotBack = std::make_shared<CPicture>(background->getSurface(), Rect(20, 187, 47, 47), 0, 0);
 	artSlotBack = std::make_shared<CPicture>(background->getSurface(), Rect(20, 187, 47, 47), 0, 0);
-	artSlotBack->moveTo(Point(358, 443));
+	artSlotBack->moveTo(pos.topLeft() + Point(18, 339));
 	auto artsSellingMarket = std::make_shared<CArtifactsSelling>(market, hero);
 	auto artsSellingMarket = std::make_shared<CArtifactsSelling>(market, hero);
 	artSets.clear();
 	artSets.clear();
 	addSetAndCallbacks(artsSellingMarket->getAOHset());
 	addSetAndCallbacks(artsSellingMarket->getAOHset());