* Build rail on a stretch of track. * Stub for the unified rail builder/remover * @param flags operation to perform * @param end_tile end tile of drag * @param start_tile start tile of drag * @param track track-orientation * @return the cost of this operation or an error * @see CmdRailTrackHelper */
| 943 | * @see CmdRailTrackHelper |
| 944 | */ |
| 945 | CommandCost CmdRemoveRailroadTrack(DoCommandFlags flags, TileIndex end_tile, TileIndex start_tile, Track track) |
| 946 | { |
| 947 | return CmdRailTrackHelper(flags, start_tile, end_tile, INVALID_RAILTYPE, track, true, false, false); |
| 948 | } |
| 949 | |
| 950 | /** |
| 951 | * Build a train depot |
nothing calls this directly
no test coverage detected