That was unnecessary because set_route() does it already.
This commit is contained in:
Tommy Schmitz 2011-07-14 05:39:31 +00:00
parent 27d071ba44
commit fa3b97ff7d

View file

@ -137,7 +137,6 @@ validate_visitor::VALIDITY validate_visitor::evaluate_move_validity(move_ptr m_p
{
//new valid path differs from the previous one, replace
m.set_route(new_route);
m.calculate_move_cost();
//send updated path to allies
resources::whiteboard->queue_net_cmd(side_actions_->make_net_cmd_replace(arg_itor_,m_ptr));