summaryrefslogtreecommitdiff
path: root/src/station.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2007-02-02 16:51:10 +0000
committercelestar <celestar@openttd.org>2007-02-02 16:51:10 +0000
commit22dc618582fcb00bedab2e02c35e2f9f9ff680ed (patch)
treeb452bc1cfa211c8321cb8bfaf097f53557a3fafc /src/station.h
parent1c013055b6b409281e5bd4463a54e5a9ee6482cd (diff)
downloadopenttd-22dc618582fcb00bedab2e02c35e2f9f9ff680ed.tar.xz
(svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the station is very spread out
Diffstat (limited to 'src/station.h')
-rw-r--r--src/station.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station.h b/src/station.h
index c278a8abe..0f50bff75 100644
--- a/src/station.h
+++ b/src/station.h
@@ -84,7 +84,7 @@ struct StationRect : public Rect {
StationRect();
void MakeEmpty();
- bool PtInRectXY(int x, int y) const;
+ bool PtInExtendedRect(int x, int y, int distance = 0) const;
bool IsEmpty() const;
bool BeforeAddTile(TileIndex tile, StationRectMode mode);
bool BeforeAddRect(TileIndex tile, int w, int h, StationRectMode mode);