summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-15 09:00:02 +0000
committertron <tron@openttd.org>2005-11-15 09:00:02 +0000
commitb9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2 (patch)
tree403f3895461c780ab3903620ba2129a83d43eaea /station_cmd.c
parent1b0091e0d29a59811522758c00b690f4f07b471b (diff)
downloadopenttd-b9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2.tar.xz
(svn r3185) const
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 2c98db257..fe98f0aa5 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -151,9 +151,9 @@ RoadStop *AllocateRoadStop(void)
/* Calculate the radius of the station. Basicly it is the biggest
radius that is available within the station */
-static byte FindCatchmentRadius(Station *st)
+static uint FindCatchmentRadius(const Station* st)
{
- byte ret = 0;
+ uint ret = 0;
if (st->bus_stops != NULL) ret = max(ret, CA_BUS);
if (st->truck_stops != NULL) ret = max(ret, CA_TRUCK);