From 39e145e586385861b4e3ded70f7df0a29b56fa00 Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 7 Aug 2009 21:11:58 +0000 Subject: (svn r17106) -Codechange: move computation of station's catchment rectagle to separate function --- src/station_base.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/station_base.h') diff --git a/src/station_base.h b/src/station_base.h index 7ddb92b39..c1b0640e1 100644 --- a/src/station_base.h +++ b/src/station_base.h @@ -101,6 +101,7 @@ public: static void RecomputeIndustriesNearForAll(); uint GetCatchmentRadius() const; + Rect GetCatchmentRect() const; /* virtual */ FORCEINLINE bool TileBelongsToRailStation(TileIndex tile) const { -- cgit v1.2.3-54-g00ecf