(svn r9952) -Fix r9951: it was not possible to build a drive-through station over a road/tram

This commit is contained in:
glx
2007-05-27 01:59:07 +00:00
parent 8c9b4ee548
commit 3db7a70057
2 changed files with 4 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ void UpdateCompanyHQ(Player *p, uint score)
MarkTileDirtyByTile(tile + TileDiffXY(1, 1));
}
extern int32 CheckFlatLandBelow(TileIndex tile, uint w, uint h, uint flags, uint invalid_dirs, StationID* station);
extern int32 CheckFlatLandBelow(TileIndex tile, uint w, uint h, uint flags, uint invalid_dirs, StationID* station, bool check_clear = true);
/** Build or relocate the HQ. This depends if the HQ is already built or not
* @param tile tile where the HQ will be built or relocated to