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

Merge pull request #2973 from IvanSavenko/identifier_explicit_constructor

Improvements to type safety of Identifier class
This commit is contained in:
Ivan Savenko
2023-10-05 00:33:07 +03:00
committed by GitHub
53 changed files with 695 additions and 464 deletions

View File

@@ -450,7 +450,7 @@ void CHeroGSlot::set(const CGHeroInstance * newHero)
if(newHero)
{
portrait->visible = true;
portrait->setFrame(newHero->portrait);
portrait->setFrame(newHero->getIconIndex());
}
else if(!upg && owner->showEmpty) //up garrison
{