--- a/rail_cmd.c Fri Dec 29 12:03:28 2006 +0000
+++ b/rail_cmd.c Fri Dec 29 12:18:43 2006 +0000
@@ -881,7 +881,8 @@
extern int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec);
extern int32 DoConvertStreetRail(TileIndex tile, RailType totype, bool exec);
-extern int32 DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bool exec);
+extern int32 DoConvertTunnelRail(TileIndex tile, RailType totype, bool exec);
+extern int32 DoConvertBridgeRail(TileIndex tile, RailType totype, bool exec);
/** Convert one rail type to the other. You can convert normal rail to
* monorail/maglev easily or vice-versa.
@@ -922,8 +923,8 @@
case MP_RAILWAY: proc = DoConvertRail; break;
case MP_STATION: proc = DoConvertStationRail; break;
case MP_STREET: proc = DoConvertStreetRail; break;
- case MP_TUNNEL: proc = DoConvertTunnelBridgeRail; break;
- case MP_RAILWAY_BRIDGE: proc = DoConvertTunnelBridgeRail; break;
+ case MP_TUNNEL: proc = DoConvertTunnelRail; break;
+ case MP_RAILWAY_BRIDGE: proc = DoConvertBridgeRail; break;
default: continue;
}