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 | e5d936d0fe05621bb6b1448ba5c3e5f264a874f7 (patch) | |
tree | 6f6939f9088bd971f5e55296895fa697780b6bc3 /newgrf_station.c | |
parent | 7a91a966eae75bf9e2649775c481bd3f72b21254 (diff) | |
download | openttd-e5d936d0fe05621bb6b1448ba5c3e5f264a874f7.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); |