Skip to content

Commit

Permalink
Don't use numeric reference for TC palette
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 15, 2015
1 parent 1569c8c commit b121264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/help/help_topic_generators.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit b121264

Please sign in to comment.