(svn r4723) - Newstations: add TileIndex parameter to station resolver.

This commit is contained in:
peter1138
2006-05-03 21:19:21 +00:00
parent 76df9c8302
commit c722c88f43
5 changed files with 5 additions and 5 deletions

View File

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