(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.
This commit is contained in:
@@ -244,6 +244,8 @@ void Ship::PlayLeaveStationSound() const
|
||||
|
||||
TileIndex Ship::GetOrderStationLocation(StationID station)
|
||||
{
|
||||
if (station == this->last_station_visited) this->last_station_visited = INVALID_STATION;
|
||||
|
||||
Station *st = GetStation(station);
|
||||
if (st->dock_tile != 0) {
|
||||
return TILE_ADD(st->dock_tile, ToTileIndexDiff(GetDockOffset(st->dock_tile)));
|
||||
|
Reference in New Issue
Block a user