diff options
author | glx <glx@openttd.org> | 2007-05-27 01:59:07 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-05-27 01:59:07 +0000 |
commit | 3db7a70057cef8715ac0860bb9cb49705b0b703c (patch) | |
tree | 78761997cd47fc4eed152e3819a255eb2c48898e /src/unmovable_cmd.cpp | |
parent | 8c9b4ee548975f3b5db14468f3abc7a0534e4b09 (diff) | |
download | openttd-3db7a70057cef8715ac0860bb9cb49705b0b703c.tar.xz |
(svn r9952) -Fix r9951: it was not possible to build a drive-through station over a road/tram
Diffstat (limited to 'src/unmovable_cmd.cpp')
-rw-r--r-- | src/unmovable_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp index d077a886b..dc3bf1112 100644 --- a/src/unmovable_cmd.cpp +++ b/src/unmovable_cmd.cpp @@ -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 |