forked from github/server
This commit is contained in:
parent
dae2a22b35
commit
250e086eb1
|
@ -1072,8 +1072,11 @@ cycle_route(order * ord, unit *u, int gereist)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
strcat(neworder, tail);
|
if (neworder[0]) {
|
||||||
norder = create_order(K_ROUTE, u->faction->locale, "%s", neworder);
|
norder = create_order(K_ROUTE, u->faction->locale, "%s %s", neworder, tail);
|
||||||
|
} else {
|
||||||
|
norder = create_order(K_ROUTE, u->faction->locale, "%s", tail);
|
||||||
|
}
|
||||||
replace_order(&u->orders, ord, norder);
|
replace_order(&u->orders, ord, norder);
|
||||||
free_order(norder);
|
free_order(norder);
|
||||||
}
|
}
|
||||||
|
|
|
@ -977,6 +977,7 @@ transfermen(unit * u, unit * u2, int n)
|
||||||
remove_skill(u2, sk);
|
remove_skill(u2, sk);
|
||||||
sn = NULL;
|
sn = NULL;
|
||||||
}
|
}
|
||||||
|
assert(u2->number!=0 || (sn->level==sv->level && sn->weeks==sv->weeks));
|
||||||
}
|
}
|
||||||
a = a_find(u->attribs, &at_effect);
|
a = a_find(u->attribs, &at_effect);
|
||||||
while (a && a->type==&at_effect) {
|
while (a && a->type==&at_effect) {
|
||||||
|
|
Loading…
Reference in New Issue