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.h | |
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.h')
-rw-r--r-- | newgrf_station.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newgrf_station.h b/newgrf_station.h index 6680334ac..d14d215d8 100644 --- a/newgrf_station.h +++ b/newgrf_station.h @@ -96,9 +96,9 @@ void SetCustomStationSpec(StationSpec *statspec); const StationSpec *GetCustomStationSpec(StationClassID sclass, uint station); /* Get sprite offset for a given custom station and station structure (may be - * NULL if ctype is set - that means we are in a build dialog). The station - * structure is used for variational sprite groups. */ -SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile, CargoID ctype); + * NULL - that means we are in a build dialog). The station structure is used + * for variational sprite groups. */ +SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile); /* Allocate a StationSpec to a Station. This is called once per build operation. */ int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec); |