- Fix move_ship. Funktioniert trotzdem noch nicht, muss noch ein zweiter

Bug sein.
This commit is contained in:
Christian Schlittchen 2001-08-12 08:23:13 +00:00
parent 9deb3f908c
commit 75267bd251
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ move_ship(ship * sh, region * from, region * to, region ** route)
/* TODO: Speichermechanismus portabel machen. */ /* TODO: Speichermechanismus portabel machen. */
a = a_find((*ri)->attribs, &at_traveldir_new); a = a_find((*ri)->attribs, &at_traveldir_new);
while (a) { while (a) {
if(a->data.sa[0] == sh->no) break; if(((traveldir *)(a->data.v))->no == sh->no) break;
a = a->nexttype; a = a->nexttype;
} }
if(!a) { if(!a) {