From 4ea777993273e6461b7ade666d215e43ac5ff375 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 19 May 2006 22:09:12 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D90?= =?UTF-8?q?9=20FOLGE=20SCHIFF=20fehlerhaft=20-=20es=20wurde=20kein=20at=5F?= =?UTF-8?q?shiptrail=20erzeugt,=20wenn=20noch=20ein=20anderes=20attribut?= =?UTF-8?q?=20in=20der=20liste=20war,=20und=20stattdessen=20das=20attribut?= =?UTF-8?q?=20eines=20anderen=20shciffes=20verhunzt.=20B=C3=B6se.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/kernel/movement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/movement.c b/src/common/kernel/movement.c index 84707215a..a1eaf5b18 100644 --- a/src/common/kernel/movement.c +++ b/src/common/kernel/movement.c @@ -549,7 +549,7 @@ 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;