summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-10-25 14:19:09 +0000
committerfrosch <frosch@openttd.org>2008-10-25 14:19:09 +0000
commit11ef57d81ea1a9c94002ef9013cebb0990b337e7 (patch)
tree44e1a84104135e19cf4584f675c763494f9860a5 /src/station_base.h
parenta14ad77a36c836fd3f6940eadeb8161e7ad02f92 (diff)
downloadopenttd-11ef57d81ea1a9c94002ef9013cebb0990b337e7.tar.xz
(svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius().
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/station_base.h b/src/station_base.h
index 0a0019af2..9e22f231e 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -195,6 +195,8 @@ public:
* @return true if and only is the station exists
*/
inline bool IsValid() const { return this->xy != 0; }
+
+ uint GetCatchmentRadius() const;
};
static inline StationID GetMaxStationIndex()