fix attack halo staying after the engd of attack

This commit is contained in:
Jérémy Rosen 2006-05-08 13:07:02 +00:00
parent f09b4b7bca
commit ca6ce641db

View file

@ -321,6 +321,8 @@ bool unit_attack_ranged(display& disp, unit_map& units,
if(!disp.turbo()) SDL_Delay(10);
animation_time = defender.get_animation()->get_animation_time();
}
halo::remove(missile_halo);
missile_halo = 0;
if(def->second.take_hit(damage)) {
dead = true;
}