mirror of https://github.com/OpenTTD/OpenTTD
(svn r4157) CodeChange : Keep on cleaning up Celestar's elrail merge
parent
00cdf24057
commit
3633d56923
|
@ -787,7 +787,7 @@ static void DrawTile_Road(TileInfo *ti)
|
||||||
}
|
}
|
||||||
|
|
||||||
DrawGroundSprite(image);
|
DrawGroundSprite(image);
|
||||||
if (GB(_m[ti->tile].m4, 0, 4) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
|
if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1959,7 +1959,7 @@ static void DrawTile_Station(TileInfo *ti)
|
||||||
// but this is something else. If AI builds station with 114 it looks all weird
|
// but this is something else. If AI builds station with 114 it looks all weird
|
||||||
DrawGroundSprite(image);
|
DrawGroundSprite(image);
|
||||||
|
|
||||||
if (GB(_m[ti->tile].m3, 0, 4) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
|
if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
|
||||||
|
|
||||||
foreach_draw_tile_seq(dtss, t->seq) {
|
foreach_draw_tile_seq(dtss, t->seq) {
|
||||||
image = dtss->image + relocation;
|
image = dtss->image + relocation;
|
||||||
|
|
|
@ -974,7 +974,7 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
|
||||||
DrawGroundSprite(SPR_FLAT_SNOWY_TILE + _tileh_to_sprite[ti->tileh]);
|
DrawGroundSprite(SPR_FLAT_SNOWY_TILE + _tileh_to_sprite[ti->tileh]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GB(_m[ti->tile].m3, 0, 3) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
|
if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
|
||||||
|
|
||||||
// draw ramp
|
// draw ramp
|
||||||
if (_display_opt & DO_TRANS_BUILDINGS) MAKE_TRANSPARENT(image);
|
if (_display_opt & DO_TRANS_BUILDINGS) MAKE_TRANSPARENT(image);
|
||||||
|
|
Loading…
Reference in New Issue