diff options
author | belugas <belugas@openttd.org> | 2006-03-29 20:35:39 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-03-29 20:35:39 +0000 |
commit | 3633d5692327bc1cb86437fccdcdd906fa0ceb1b (patch) | |
tree | cbd20c9d993f25ca819014dfae322c97081707d5 /station_cmd.c | |
parent | 00cdf24057a2613e2307bf7a2529fb48f89a53eb (diff) | |
download | openttd-3633d5692327bc1cb86437fccdcdd906fa0ceb1b.tar.xz |
(svn r4157) CodeChange : Keep on cleaning up Celestar's elrail merge
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c index 1cbad1c0d..95b0f7dab 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -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; |