1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Backpack limit part5. End of battle. Other stuff

This commit is contained in:
SoundSSGood
2023-03-21 12:13:53 +02:00
parent 9f8aa25297
commit f0f9eecf97
15 changed files with 117 additions and 118 deletions

View File

@@ -812,7 +812,7 @@ void CGSeerHut::finishQuest(const CGHeroInstance * h, ui32 accept) const
// Disassemble this backpack artifact
for(const auto & ci : parts)
{
if(ci.art->artType->getId() != elem)
if(ci.art->getTypeId() != elem)
cb->giveHeroNewArtifact(h, ci.art->artType, GameConstants::BACKPACK_START);
}
}