1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Added possibility to define per-town tower icon for battle queue in siege

This commit is contained in:
Ivan Savenko
2022-11-29 14:47:51 +02:00
parent 3d1f6df0e2
commit 861a6849f9
12 changed files with 45 additions and 30 deletions

View File

@@ -72,8 +72,8 @@ const std::string & CArtifact::getJsonKey() const
void CArtifact::registerIcons(const IconRegistar & cb) const
{
cb(getIconIndex(), "ARTIFACT", image);
cb(getIconIndex(), "ARTIFACTLARGE", large);
cb(getIconIndex(), 0, "ARTIFACT", image);
cb(getIconIndex(), 0, "ARTIFACTLARGE", large);
}
ArtifactID CArtifact::getId() const