Whiteboard: attempt to ghost unit right before animating...

...a move definition, but it doesn't work. Needs investigation by
graphics devs.
This commit is contained in:
Gabriel Morin 2010-06-30 07:52:25 +00:00
parent 35e45bf5ad
commit 509d7589db

View file

@ -229,6 +229,7 @@ void manager::save_temp_move()
assert(!has_planned_unit_map());
selected_unit_->set_ghosted(false); //FIXME: doesn't take effect until after the move animation, boucman: help!
unit_display::move_unit(route_, *fake_unit_, *resources::teams, true);
get_current_side_actions()->queue_move(*selected_unit_, route_.front(), route_.back(), move_arrow_, fake_unit_);