(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

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