Da es nicht geklappt hat, noch ein Versuch (off by one region)
This commit is contained in:
Enno Rehling 2004-09-08 21:58:08 +00:00
parent 5fe3bb9aba
commit 2e4d97f8c8
1 changed files with 9 additions and 10 deletions

View File

@ -1337,21 +1337,20 @@ travel(unit * u, region * next, int flucht, region_list ** routep)
region_list *rlist = route;
travelthru(u, first);
while (rlist!=NULL) {
region * r = rlist->data;
char * p;
travelthru(u, r);
rlist=rlist->next;
if (rlist!=NULL) {
char * p;
if (r!=route->data) {
if (rlist!=route) {
if (rlist->next==NULL) scat(" und ");
else scat(", ");
}
p = buf+strlen(buf);
MSG(("travelthru_trail", "region", rlist->data), p, sizeof(buf)-strlen(buf), u->faction->locale, u->faction);
}
MSG(("travelthru_trail", "region", r), p, sizeof(buf)-strlen(buf), u->faction->locale, u->faction);
rlist = rlist->next;
}
}
ADDMSG(&u->faction->msgs, msg_message("travel",