forked from github/server
parent
3cd47bb8fa
commit
fc73da4ae4
|
@ -2189,7 +2189,7 @@ static const region_list *travel_i(unit * u, const region_list * route_begin,
|
||||||
static void travel(unit * u, region_list ** routep)
|
static void travel(unit * u, region_list ** routep)
|
||||||
{
|
{
|
||||||
region *r = u->region;
|
region *r = u->region;
|
||||||
region_list *route_begin = NULL;
|
region_list *route_begin;
|
||||||
follower *followers = NULL;
|
follower *followers = NULL;
|
||||||
|
|
||||||
assert(routep);
|
assert(routep);
|
||||||
|
@ -2232,6 +2232,7 @@ static void travel(unit * u, region_list ** routep)
|
||||||
make_route(u, u->thisorder, routep);
|
make_route(u, u->thisorder, routep);
|
||||||
route_begin = *routep;
|
route_begin = *routep;
|
||||||
|
|
||||||
|
if (route_begin) {
|
||||||
/* und ab die post: */
|
/* und ab die post: */
|
||||||
travel_i(u, route_begin, NULL, u->thisorder, TRAVEL_NORMAL, &followers);
|
travel_i(u, route_begin, NULL, u->thisorder, TRAVEL_NORMAL, &followers);
|
||||||
|
|
||||||
|
@ -2261,7 +2262,7 @@ static void travel(unit * u, region_list ** routep)
|
||||||
free_order(follow_order);
|
free_order(follow_order);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void move_cmd(unit * u, bool move_on_land)
|
void move_cmd(unit * u, bool move_on_land)
|
||||||
|
|
Loading…
Reference in New Issue