From 75267bd2515530132bfbc422d5baa643536907cb Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sun, 12 Aug 2001 08:23:13 +0000 Subject: [PATCH] - Fix move_ship. Funktioniert trotzdem noch nicht, muss noch ein zweiter Bug sein. --- 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 52dc4d0ed..91715f050 100644 --- a/src/common/kernel/movement.c +++ b/src/common/kernel/movement.c @@ -429,7 +429,7 @@ move_ship(ship * sh, region * from, region * to, region ** route) /* TODO: Speichermechanismus portabel machen. */ a = a_find((*ri)->attribs, &at_traveldir_new); while (a) { - if(a->data.sa[0] == sh->no) break; + if(((traveldir *)(a->data.v))->no == sh->no) break; a = a->nexttype; } if(!a) {