Browse Source

Check if slot locked before pick on Artifact Merchants

This one is fixes issue 2007
ArseniyShestakov 11 years ago
parent
commit
f71cfdf173
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/windows/CTradeWindow.cpp

+ 1 - 1
client/windows/CTradeWindow.cpp

@@ -624,7 +624,7 @@ void CTradeWindow::artifactSelected(CArtPlace *slot)
 {
 	assert(mode == EMarketMode::ARTIFACT_RESOURCE);
 	items[1][0]->setArtInstance(slot->ourArt);
-	if(slot->ourArt)
+	if(slot->ourArt && !slot->locked)
 		hLeft = items[1][0];
 	else
 		hLeft = nullptr;