1
0
Fork 0

(svn r17481) -Fix (r16998): in cases where the northern most tile of an airport-to-build didn't touch the station you wanted it to join, but another part did, it wouldn't join the airport to the existing station

release/1.0
rubidium 2009-09-08 22:48:37 +00:00
parent 37d702b2ce
commit b615ae7015
1 changed files with 1 additions and 1 deletions

View File

@ -1928,7 +1928,7 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
}
Station *st = NULL;
CommandCost ret = FindJoiningStation(INVALID_STATION, station_to_join, HasBit(p2, 0), TileArea(tile, 1, 1), &st);
CommandCost ret = FindJoiningStation(INVALID_STATION, station_to_join, HasBit(p2, 0), TileArea(tile, w, h), &st);
if (CmdFailed(ret)) return ret;
/* Distant join */