fix bug 19563 (patch 3196 by jamit)
This commit is contained in:
parent
efacd76ffe
commit
0c28e59f83
2 changed files with 2 additions and 1 deletions
|
@ -777,6 +777,7 @@ static void toggle_fog(const bool clear, const vconfig& cfg)
|
|||
t.add_fog_override(locs);
|
||||
else
|
||||
t.remove_fog_override(locs);
|
||||
recalculate_fog(side_num);
|
||||
}
|
||||
|
||||
// Flag a screen update.
|
||||
|
|
|
@ -1826,7 +1826,7 @@ void unit::redraw_unit()
|
|||
game_display &disp = *game_display::get_singleton();
|
||||
const gamemap &map = disp.get_map();
|
||||
|
||||
if ( hidden_ || !is_visible_to_team(disp.get_teams()[disp.viewing_team()],false,map) )
|
||||
if ( hidden_ || !is_visible_to_team(disp.get_teams()[disp.viewing_team()],disp.show_everything(),map) )
|
||||
{
|
||||
clear_haloes();
|
||||
if(anim_) {
|
||||
|
|
Loading…
Add table
Reference in a new issue