(svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally

This commit is contained in:
peter1138
2006-05-04 19:21:16 +00:00
parent 7a91a966ea
commit e5d936d0fe
5 changed files with 8 additions and 8 deletions

View File

@@ -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);