Unit Display: When a recruiting unit is visible but the recruited unit is not, scroll to the recruiting unit and show the recruit animation.

Fixes #3577.
This commit is contained in:
josteph 2018-09-28 18:19:30 +00:00
parent 801d6f5c4f
commit fc2c0e7ee4

View file

@ -730,7 +730,7 @@ void reset_helpers(const unit *attacker,const unit *defender)
void unit_recruited(const map_location& loc,const map_location& leader_loc)
{
game_display* disp = game_display::get_singleton();
if(do_not_show_anims(disp) || disp->fogged(loc)) {
if(do_not_show_anims(disp) || (disp->fogged(loc) && disp->fogged(leader_loc))) {
return;
}