fixed bug where saving in the middle of an AI unit's turn...

...caused that unit to disappear
This commit is contained in:
Dave White 2005-05-30 06:44:49 +00:00
parent 4dec97f0fb
commit 54a6e918c4

View file

@ -467,7 +467,7 @@ gamemap::location ai_interface::move_unit_partial(location from, location to, st
info_.disp.scroll_to_tiles(from.x,from.y,to.x,to.y);
info_.disp.hide_unit(u_it->first);
info_.disp.hide_unit(u_it->first,true);
unit_display::move_unit(info_.disp,info_.map,steps,current_unit,info_.state.get_time_of_day(),info_.units,info_.teams);
info_.disp.hide_unit(gamemap::location());
info_.units.erase(u_it);