Skip to content

Commit

Permalink
Fix check of locked artifacts for Altar of Sacrifice
Browse files Browse the repository at this point in the history
This one is explained in issue 2001
  • Loading branch information
ArseniyShestakov committed Dec 25, 2014
1 parent 046a6fc commit 54437a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/windows/CTradeWindow.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 54437a3

Please sign in to comment.