mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Check if slot locked before pick on Artifact Merchants
This one is fixes issue 2007
This commit is contained in:
parent
54437a3b19
commit
f71cfdf173
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user