Don't use numeric reference for TC palette
This commit is contained in:
parent
1569c8ce8b
commit
b121264050
1 changed files with 2 additions and 2 deletions
|
@ -246,14 +246,14 @@ std::string unit_topic_generator::operator()() const {
|
|||
#ifdef LOW_MEM
|
||||
ss << "<img>src='" << male_type.image() << "~XBRZ(2)'</img> ";
|
||||
#else
|
||||
ss << "<img>src='" << male_type.image() << "~RC(" << male_type.flag_rgb() << ">1)~XBRZ(2)" << "'</img> ";
|
||||
ss << "<img>src='" << male_type.image() << "~RC(" << male_type.flag_rgb() << ">red)~XBRZ(2)" << "'</img> ";
|
||||
#endif
|
||||
|
||||
if (&female_type != &male_type)
|
||||
#ifdef LOW_MEM
|
||||
ss << "<img>src='" << female_type.image() << "~XBRZ(2)'</img> ";
|
||||
#else
|
||||
ss << "<img>src='" << female_type.image() << "~RC(" << female_type.flag_rgb() << ">1)~XBRZ(2)" << "'</img> ";
|
||||
ss << "<img>src='" << female_type.image() << "~RC(" << female_type.flag_rgb() << ">red)~XBRZ(2)" << "'</img> ";
|
||||
#endif
|
||||
|
||||
const std::string &male_portrait = male_type.small_profile();
|
||||
|
|
Loading…
Add table
Reference in a new issue