fix bug 2266

This commit is contained in:
Enno Rehling 2016-12-16 17:17:04 +01:00
parent ddc7707cde
commit 72ac801734
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ void leave_trail(ship * sh, region * from, region_list * route)
a = a->next;
}
if (a == NULL) {
if (a == NULL || a->type != &at_shiptrail) {
a = a_add(&(r->attribs), a_new(&at_shiptrail));
td = (traveldir *)a->data.v;
td->no = sh->no;