diff options
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); |