small bug when using multiple standing anims in conjunction with movement

This commit is contained in:
Jérémy Rosen 2006-11-13 22:04:08 +00:00
parent 368a07817d
commit 57cffddaf5

View file

@ -163,6 +163,7 @@ void move_unit(display& disp, const gamemap& map, const std::vector<gamemap::loc
}
disp.remove_temporary_unit();
u.set_facing(path[path.size()-2].get_relative_dir(path[path.size()-1]));
u.set_standing(disp,path[path.size()-1]);
//make sure the entire path is cleaned properly
for(std::vector<gamemap::location>::const_iterator it = path.begin(); it != path.end(); ++it) {