Show gold in status table unless team is enemy and fog is enabled.
This commit is contained in:
parent
1eb8c320c0
commit
287b4e9cee
2 changed files with 2 additions and 2 deletions
|
@ -261,7 +261,7 @@ namespace events{
|
|||
str << ' ' << COLUMN_SEPARATOR << "\033[3" << lexical_cast<char, size_t>(n+1) << "m-" << COLUMN_SEPARATOR;
|
||||
}
|
||||
|
||||
if(enemy) {
|
||||
if(enemy && viewing_team.uses_fog()) {
|
||||
str << ' ' << COLUMN_SEPARATOR;
|
||||
} else {
|
||||
str << data.gold << COLUMN_SEPARATOR;
|
||||
|
|
|
@ -1888,7 +1888,7 @@ void turn_info::status_table()
|
|||
str << ' ' << COLUMN_SEPARATOR << "\033[3" << lexical_cast<char, size_t>(n+1) << "m-" << COLUMN_SEPARATOR;
|
||||
}
|
||||
|
||||
if(enemy) {
|
||||
if(enemy && viewing_team.uses_fog()) {
|
||||
str << ' ' << COLUMN_SEPARATOR;
|
||||
} else {
|
||||
str << data.gold << COLUMN_SEPARATOR;
|
||||
|
|
Loading…
Add table
Reference in a new issue