Revert a parentheses error from [[SVN:17879 ]]
...causing to display red flags on all villages. Changed the bad indentation to prevent other future error.
This commit is contained in:
parent
052da3a591
commit
f49f211fd1
1 changed files with 3 additions and 1 deletions
|
@ -1898,7 +1898,9 @@ surface display::get_flag(const t_translation::t_letter& terrain, const gamemap:
|
|||
}
|
||||
|
||||
for(size_t i = 0; i != teams_.size(); ++i) {
|
||||
if(teams_[i].owns_village(loc) && (!fogged(loc)) || !shrouded(loc) && !teams_[currentTeam_].is_enemy(i+1)) {
|
||||
if(teams_[i].owns_village(loc) &&
|
||||
(!fogged(loc) || !shrouded(loc) && !teams_[currentTeam_].is_enemy(i+1)))
|
||||
{
|
||||
flags_[i].update_last_draw_time();
|
||||
return image::get_image(flags_[i].get_current_frame());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue