oops again, the quick correction of the previous bad copy-paste was incomplete

This commit is contained in:
Ali El Gariani 2007-11-03 18:54:25 +00:00
parent 8dce1a1f03
commit e536e50b31

View file

@ -944,7 +944,7 @@ void game_display::invalidate_animations()
unit_map::iterator unit;
for(unit=units_.begin() ; unit != units_.end() ; unit++) {
unit->second.refresh(*this, temp_unit_loc_);
unit->second.refresh(*this, unit->first);
if (unit->second.get_animation() && unit->second.get_animation()->need_update())
invalidate(unit->first);
}