* Remove signals on a stretch of track. * Stub for the unified signal builder/remover * @param flags operation to perform * @param tile start tile of drag * @param end_tile end tile of drag * @param track track-orientation * @param autofill fill beyond selected stretch? * @return the cost of this operation or an error * @see CmdSignalTrackHelper */
| 1522 | * @see CmdSignalTrackHelper |
| 1523 | */ |
| 1524 | CommandCost CmdRemoveSignalTrack(DoCommandFlags flags, TileIndex tile, TileIndex end_tile, Track track, bool autofill) |
| 1525 | { |
| 1526 | return CmdSignalTrackHelper(flags, tile, end_tile, track, SIGTYPE_BLOCK, SIG_ELECTRIC, false, true, autofill, false, 1); // bit 5 is remove bit |
| 1527 | } |
| 1528 | |
| 1529 | /** |
| 1530 | * Convert one rail type to the other. You can convert normal rail to |
nothing calls this directly
no test coverage detected