train_cmd.c
branchcustombridgeheads
changeset 5590 dc34c43fc3eb
parent 5588 1bcb6b4c01d8
child 5591 8cd83b10634f
--- a/train_cmd.c	Thu Dec 28 16:11:07 2006 +0000
+++ b/train_cmd.c	Thu Dec 28 17:21:22 2006 +0000
@@ -3405,7 +3405,7 @@
 
 	tile = v->tile;
 
-	if (IsTileType(tile, MP_TUNNELBRIDGE)) {
+	if (IsTileType(tile, MP_TUNNEL) || IsTileType(tile, MP_RAILWAY_BRIDGE)) {
 		DiagDirection dir;
 
 		dir = IsTunnel(tile) ? GetTunnelDirection(tile) : GetBridgeRampDirection(tile);