Fix not showing selected unit profile image in widescreen theme
This commit is contained in:
parent
7df0da5659
commit
40319fe849
1 changed files with 4 additions and 0 deletions
|
@ -1023,6 +1023,10 @@ std::string unit::small_profile() const
|
|||
return small_profile_;
|
||||
}
|
||||
|
||||
if(!profile_.empty() && small_profile_ != "unit_image" && profile_ != "unit_image") {
|
||||
return profile_;
|
||||
}
|
||||
|
||||
return absolute_image();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue