summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-03-29 21:10:42 +0000
committerbelugas <belugas@openttd.org>2006-03-29 21:10:42 +0000
commit85d4d3a414c2b704a0ee8c7057a83242de4e42c2 (patch)
treefac4b5c0d7fe426ff95c7b0b350857bb18f141f0 /road_cmd.c
parent0151ab03793ce7074dd4dae561230434edaa7258 (diff)
downloadopenttd-85d4d3a414c2b704a0ee8c7057a83242de4e42c2.tar.xz
(svn r4160) CodeChange : Revert part of 4157, spotted by Tron
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c
index 35701fae8..20505c959 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -787,7 +787,7 @@ static void DrawTile_Road(TileInfo *ti)
}
DrawGroundSprite(image);
- if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
+ if (GB(_m[ti->tile].m4, 0, 4) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
break;
}