* 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 railtype railroad type normal/maglev (0 = normal, 1 = mono, 2 = maglev), only used for building * @param track track-orientation * @param auto_remove_signals false = build up to an obstacle, tru
| 928 | * @see CmdRailTrackHelper |
| 929 | */ |
| 930 | CommandCost CmdBuildRailroadTrack(DoCommandFlags flags, TileIndex end_tile, TileIndex start_tile, RailType railtype, Track track, bool auto_remove_signals, bool fail_on_obstacle) |
| 931 | { |
| 932 | return CmdRailTrackHelper(flags, start_tile, end_tile, railtype, track, false, auto_remove_signals, fail_on_obstacle); |
| 933 | } |
| 934 | |
| 935 | /** |
| 936 | * Build rail on a stretch of track. |
nothing calls this directly
no test coverage detected