summaryrefslogtreecommitdiff
path: root/src/unmovable_cmd.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-05-27 01:59:07 +0000
committerglx <glx@openttd.org>2007-05-27 01:59:07 +0000
commit5e41d3364c1ec2b932eb856605226ca2b70478dd (patch)
tree78761997cd47fc4eed152e3819a255eb2c48898e /src/unmovable_cmd.cpp
parent39463156df1e6544cbfe76d8b5eeb38430a9a73f (diff)
downloadopenttd-5e41d3364c1ec2b932eb856605226ca2b70478dd.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.cpp2
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