author | celestar |
Fri, 06 May 2005 12:00:25 +0000 | |
changeset 1769 | 0a51d1534f06 |
parent 1768 | 997fd3ae1384 |
child 1770 | b6bda4dc6da2 |
roadveh_cmd.c | file | annotate | diff | comparison | revisions |
--- a/roadveh_cmd.c Fri May 06 06:59:24 2005 +0000 +++ b/roadveh_cmd.c Fri May 06 12:00:25 2005 +0000 @@ -1634,7 +1634,7 @@ CheckOrders(v->index, OC_INIT); /* update destination */ - if (v->current_order.type == OT_GOTO_STATION) { + if (v->current_order.type == OT_GOTO_STATION && !(v->vehstatus & VS_CRASHED)) { RoadStop *rs; uint32 mindist = 0xFFFFFFFF; int num;