(svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user