diff options
author | celestar <celestar@openttd.org> | 2007-02-02 16:51:10 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2007-02-02 16:51:10 +0000 |
commit | 22dc618582fcb00bedab2e02c35e2f9f9ff680ed (patch) | |
tree | b452bc1cfa211c8321cb8bfaf097f53557a3fafc /src/station.h | |
parent | 1c013055b6b409281e5bd4463a54e5a9ee6482cd (diff) | |
download | openttd-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.h | 2 |
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); |