(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 a55ac6efac
commit 4963eb80b7
5 changed files with 8 additions and 8 deletions

View File

@@ -1990,7 +1990,7 @@ static void DrawTile_Station(TileInfo *ti)
if (statspec != NULL) {
uint tile = GetStationGfx(ti->tile);
relocation = GetCustomStationRelocation(statspec, st, ti->tile, 0);
relocation = GetCustomStationRelocation(statspec, st, ti->tile);
/* Ensure the chosen tile layout is valid for this custom station */
t = &statspec->renderdata[tile < statspec->tiles ? tile : GetRailStationAxis(ti->tile)];