Skip to content

Commit

Permalink
Faction Select: attempt to make [multiplayer_side] flag_rgb= work again
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Dec 11, 2016
1 parent 37d88d0 commit e11c9ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/dialogs/multiplayer/faction_select.cpp
Expand Up @@ -100,8 +100,8 @@ void faction_select::pre_show(window& window)
std::map<std::string, string_map> data;
string_map item;

// TODO: don't hardcode magenta?
item["label"] = (formatter() << side["image"] << "~RC(magenta>" << tc_color_ << ")").str();
// flag_rgb here is unrelated to any handling in the unit class
item["label"] = (formatter() << side["image"] << "~RC(" << side["flag_rgb"] << ">" << tc_color_ << ")").str();
data.emplace("faction_image", item);

item["label"] = side["name"];
Expand Down

0 comments on commit e11c9ec

Please sign in to comment.