mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Support for objects from mods as campaign scenario bonuses
This commit is contained in:
@@ -102,7 +102,6 @@ std::string CArtifact::getModScope() const
|
||||
void CArtifact::registerIcons(const IconRegistar & cb) const
|
||||
{
|
||||
cb(getIconIndex(), 0, "ARTIFACT", image);
|
||||
cb(getIconIndex(), 0, "ARTIFACTLARGE", large);
|
||||
}
|
||||
|
||||
ArtifactID CArtifact::getId() const
|
||||
@@ -359,7 +358,7 @@ void CArtifact::setImage(int32_t newIconIndex, const std::string & newImage, con
|
||||
{
|
||||
iconIndex = newIconIndex;
|
||||
image = newImage;
|
||||
large = newLargeImage;
|
||||
scenarioBonus = newLargeImage;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user