diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-04 19:21:16 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-04 19:21:16 +0000 |
commit | 4963eb80b783c22479e48a721cd2d8742eb7c793 (patch) | |
tree | 6f6939f9088bd971f5e55296895fa697780b6bc3 /newgrf_station.c | |
parent | a55ac6efac979b9276faae4c71e965dd6a1b35c3 (diff) | |
download | openttd-4963eb80b783c22479e48a721cd2d8742eb7c793.tar.xz |
(svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally
Diffstat (limited to 'newgrf_station.c')
-rw-r--r-- | newgrf_station.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newgrf_station.c b/newgrf_station.c index ab6d2fc59..a0a82df0b 100644 --- a/newgrf_station.c +++ b/newgrf_station.c @@ -323,11 +323,11 @@ static void NewStationResolver(ResolverObject *res, const StationSpec *statspec, } -SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile, CargoID ctype) +SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile) { const SpriteGroup *group; ResolverObject object; - ctype = (st == NULL) ? GC_PURCHASE : GC_DEFAULT_NA; + CargoID ctype = (st == NULL) ? GC_PURCHASE : GC_DEFAULT_NA; NewStationResolver(&object, statspec, st, tile); |