mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix check of locked artifacts for Altar of Sacrifice
This one is explained in issue 2001
This commit is contained in:
parent
046a6fc45a
commit
54437a3b19
@ -1273,7 +1273,7 @@ void CAltarWindow::SacrificeAll()
|
||||
{
|
||||
for(auto i = hero->artifactsWorn.cbegin(); i != hero->artifactsWorn.cend(); i++)
|
||||
{
|
||||
if(i->second.artifact->artType->id != ArtifactID::ART_LOCK) //ignore locks from assembled artifacts
|
||||
if(!i->second.locked) //ignore locks from assembled artifacts
|
||||
moveFromSlotToAltar(i->first, nullptr, i->second.artifact);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user