changed colour encoding in the status table

This commit is contained in:
Jon Daniel 2005-06-03 12:15:03 +00:00
parent c19ffb510a
commit 9855a36020

View file

@ -1809,9 +1809,9 @@ void turn_info::status_table()
//cause it to be displayed in the correct colour
if(leader != units_.end()) {
str << IMAGE_PREFIX << leader->second.type().image() << COLUMN_SEPARATOR
<< char(n+1) << leader->second.description() << COLUMN_SEPARATOR;
<< "\027[3" << lexical_cast<char, int>(n+1) << 'm' << leader->second.description() << COLUMN_SEPARATOR;
} else {
str << ' ' << COLUMN_SEPARATOR << char(n+1) << '-' << COLUMN_SEPARATOR;
str << ' ' << COLUMN_SEPARATOR << "\027[3" << lexical_cast<char, int>(n+1) << "m-" << COLUMN_SEPARATOR;
}
if(enemy) {