diff options
author | tron <tron@openttd.org> | 2005-11-15 09:00:02 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-15 09:00:02 +0000 |
commit | 8a3587fa286d6d3dec354c2b4cb27657ee813044 (patch) | |
tree | 403f3895461c780ab3903620ba2129a83d43eaea /station_cmd.c | |
parent | 84a16a0b30c3c8f1df9a3e9fa8c2bb1e88199403 (diff) | |
download | openttd-8a3587fa286d6d3dec354c2b4cb27657ee813044.tar.xz |
(svn r3185) const
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 4 |
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); |