(svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window.
This commit is contained in:
@@ -2720,8 +2720,8 @@ static void GetTileDesc_Track(TileIndex tile, TileDesc *td)
|
||||
{
|
||||
const RailtypeInfo *rti = GetRailTypeInfo(GetRailType(tile));
|
||||
td->rail_speed = rti->max_speed;
|
||||
td->railtype = rti->strings.name;
|
||||
td->owner[0] = GetTileOwner(tile);
|
||||
SetDParamX(td->dparam, 0, rti->strings.name);
|
||||
switch (GetRailTileType(tile)) {
|
||||
case RAIL_TILE_NORMAL:
|
||||
td->str = STR_LAI_RAIL_DESCRIPTION_TRACK;
|
||||
|
Reference in New Issue
Block a user