diff options
author | frosch <frosch@openttd.org> | 2008-10-25 14:19:09 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-10-25 14:19:09 +0000 |
commit | 11ef57d81ea1a9c94002ef9013cebb0990b337e7 (patch) | |
tree | 44e1a84104135e19cf4584f675c763494f9860a5 /src/station_base.h | |
parent | a14ad77a36c836fd3f6940eadeb8161e7ad02f92 (diff) | |
download | openttd-11ef57d81ea1a9c94002ef9013cebb0990b337e7.tar.xz |
(svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius().
Diffstat (limited to 'src/station_base.h')
-rw-r--r-- | src/station_base.h | 2 |
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() |