(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.

This commit is contained in:
rubidium
2008-04-05 12:01:34 +00:00
parent c830c4a369
commit ba0a9538cf
7 changed files with 75 additions and 88 deletions

View File

@@ -756,8 +756,9 @@ static void HandleBrokenRoadVeh(Vehicle *v)
TileIndex RoadVehicle::GetOrderStationLocation(StationID station)
{
TileIndex dest = INVALID_TILE;
if (station == this->last_station_visited) this->last_station_visited = INVALID_STATION;
TileIndex dest = INVALID_TILE;
const RoadStop *rs = GetStation(station)->GetPrimaryRoadStop(this);
if (rs != NULL) {
uint mindist = MAX_UVALUE(uint);