equal
deleted
inserted
replaced
754 if (v->type == 0 || v->orders == NULL) |
754 if (v->type == 0 || v->orders == NULL) |
755 continue; |
755 continue; |
756 |
756 |
757 /* Forget about this station if this station is removed */ |
757 /* Forget about this station if this station is removed */ |
758 if (v->last_station_visited == dest.station && dest.type == OT_GOTO_STATION) |
758 if (v->last_station_visited == dest.station && dest.type == OT_GOTO_STATION) |
759 v->last_station_visited = 0xFFFF; |
759 v->last_station_visited = INVALID_STATION; |
760 |
760 |
761 /* Check the current order */ |
761 /* Check the current order */ |
762 if (v->current_order.type == dest.type && |
762 if (v->current_order.type == dest.type && |
763 v->current_order.station == dest.station) { |
763 v->current_order.station == dest.station) { |
764 /* Mark the order as DUMMY */ |
764 /* Mark the order as DUMMY */ |