From 54a6e918c46cbd95fbe0b9e9ae577faed7aa7ff6 Mon Sep 17 00:00:00 2001 From: Dave White Date: Mon, 30 May 2005 06:44:49 +0000 Subject: [PATCH] fixed bug where saving in the middle of an AI unit's turn... ...caused that unit to disappear --- src/ai.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai.cpp b/src/ai.cpp index 49a5224a96a..6f8e896368d 100644 --- a/src/ai.cpp +++ b/src/ai.cpp @@ -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);