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