fixed bug where saving in the middle of an AI unit's turn...
...caused that unit to disappear
This commit is contained in:
parent
4dec97f0fb
commit
54a6e918c4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue