1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-13 01:20:34 +02:00

- probably fixed 1671

- fixed missing loss condition in Birth of Barbarian
- fixed some bugs found by cppcheck
This commit is contained in:
Ivan Savenko
2014-01-30 11:08:37 +00:00
parent f159f28b9f
commit 3779a54ddd
6 changed files with 68 additions and 16 deletions

View File

@ -4464,7 +4464,7 @@ void CArtPlace::setArtifact(const CArtifactInstance *art)
else
{
baseType = CComponent::artifact;
type = art->artType->iconIndex;
type = art->artType->id;
bonusValue = 0;
}
if (art->artType->constituents) //display info about components of combined artifact