add number of unowned village to status table, patch #1586 by icelus
This commit is contained in:
parent
40bf8c52ae
commit
f912cbb454
2 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,7 @@ Version 1.9.0-svn:
|
|||
* Fixed bug #15768: Avoid parts of the previous game show in the lobby
|
||||
* Fixed bug #15727: Allow wml message titles to wrap
|
||||
screen
|
||||
* Added the total number of villages to the status table lists
|
||||
* WML Engine:
|
||||
* Deprecated [set_variable]'s random key, use rand instead
|
||||
* Renamed [unit][status] healable to unhealable so it can default to 'no'
|
||||
|
|
|
@ -451,7 +451,11 @@ void menu_handler::status_table(int selected)
|
|||
} else {
|
||||
str << data.gold << COLUMN_SEPARATOR;
|
||||
}
|
||||
str << data.villages << COLUMN_SEPARATOR
|
||||
str << data.villages;
|
||||
if(!(viewing_team.uses_fog() || viewing_team.uses_shroud())) {
|
||||
str << "/" << map_.villages().size();
|
||||
}
|
||||
str << COLUMN_SEPARATOR
|
||||
<< data.units << COLUMN_SEPARATOR << data.upkeep << COLUMN_SEPARATOR
|
||||
<< (data.net_income < 0 ? font::BAD_TEXT : font::NULL_MARKUP) << data.net_income;
|
||||
total_villages += data.villages;
|
||||
|
|
Loading…
Add table
Reference in a new issue