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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user