Fix not showing selected unit profile image in widescreen theme

This commit is contained in:
Celtic Minstrel 2017-07-23 16:25:50 -04:00
parent 7df0da5659
commit 40319fe849

View file

@ -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();
}