(svn r1770) -Fix: Hopefully last pieces of code that are containing a station-id

(and should be an uint16, not uint8)
This commit is contained in:
truelight
2005-02-02 16:16:43 +00:00
parent 944bba1031
commit ab3ed5c431
12 changed files with 38 additions and 28 deletions

View File

@@ -756,7 +756,7 @@ void DeleteDestinationFromVehicleOrder(Order dest)
/* Forget about this station if this station is removed */
if (v->last_station_visited == dest.station && dest.type == OT_GOTO_STATION)
v->last_station_visited = 0xFFFF;
v->last_station_visited = INVALID_STATION;
/* Check the current order */
if (v->current_order.type == dest.type &&