* Remove road from the tile. * @param tile Current tile value. * @return Equivalent tile without road. */
| 103 | * @return Equivalent tile without road. |
| 104 | */ |
| 105 | static inline MapTile neutralizeRoad(MapTile tile) |
| 106 | { |
| 107 | if (tile >= 64 && tile <= 207) { |
| 108 | tile = (tile & 0x000F) + 64; |
| 109 | } |
| 110 | return tile; |
| 111 | }; |
| 112 | |
| 113 | /** |
| 114 | * Perform the command, and fix wire/road/rail/zone connections around it. |