forked from github/server
fix bug 2266
This commit is contained in:
parent
13128be0aa
commit
129f6fb68a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue