(svn r4157) CodeChange : Keep on cleaning up Celestar's elrail merge

This commit is contained in:
belugas
2006-03-29 20:35:39 +00:00
parent 9b3f9d3c79
commit 1cadf4ea53
4 changed files with 4 additions and 4 deletions

View File

@@ -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
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) {
image = dtss->image + relocation;