mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
BulkEraseArtifacts crash fix
This commit is contained in:
parent
b79897f598
commit
c472b2ce5e
@ -1715,7 +1715,7 @@ void BulkEraseArtifacts::applyGs(CGameState *gs)
|
||||
for(auto & slotInfoWorn : artSet->artifactsWorn)
|
||||
{
|
||||
auto art = slotInfoWorn.second.artifact;
|
||||
if(art->isCombined() && art->isPart(slotInfo->getArt()))
|
||||
if(art->isCombined() && art->isPart(slotInfo->artifact))
|
||||
{
|
||||
dis.al.slot = artSet->getArtPos(art);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user