fix missile reseting in the middle of the anim
This commit is contained in:
parent
54b58abf3b
commit
569c689631
1 changed files with 2 additions and 1 deletions
|
@ -357,7 +357,8 @@ bool unit_attack_ranged(display& disp, unit_map& units,
|
|||
leader->second.set_standing(disp,leader_loc,true);
|
||||
}
|
||||
disp.non_turbo_delay();
|
||||
animation_time = defender.get_animation()->get_animation_time();
|
||||
// we use missile animation because it's the only one not reseted in the middle to go to standing
|
||||
animation_time = missile_animation.get_animation_time();
|
||||
missile_animation.update_current_frame();
|
||||
}
|
||||
// make sure get hit sound is always played and labels always displayed
|
||||
|
|
Loading…
Add table
Reference in a new issue