From 22dc618582fcb00bedab2e02c35e2f9f9ff680ed Mon Sep 17 00:00:00 2001 From: celestar Date: Fri, 2 Feb 2007 16:51:10 +0000 Subject: (svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the station is very spread out --- src/station.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station.h') 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); -- cgit v1.2.3-54-g00ecf