wb: fixup "fix incorrect handling of skirmisher."
This commit is contained in:
parent
8b1a5c0dde
commit
9cc32ebc46
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ void move::apply_temp_modifier(unit_map& unit_map)
|
|||
|
||||
if (route_->move_cost == -1) {
|
||||
// TODO: check_validity also calls pathfind::mark_route(get_route().route), optimize/refactor this to only call that once.
|
||||
route_->move_cost = pathfind::mark_route(get_route().route).move_cost;
|
||||
route_->move_cost = pathfind::mark_route(get_route().route, true).move_cost;
|
||||
}
|
||||
//Modify movement points
|
||||
DBG_WB <<"Move: Changing movement points for unit " << unit->name() << " [" << unit->id()
|
||||
|
|
Loading…
Add table
Reference in a new issue