diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -384,7 +384,6 @@ static CommandCost RemoveRoad(TileIndex if (c != NULL) c->infrastructure.rail[GetRailType(tile)] -= LEVELCROSSING_TRACKBIT_FACTOR - 1; } else { SetRoadTypes(tile, rts); - /* If we ever get HWAY and it is possible without road then we will need to promote ownership and invalidate town index here, too */ } MarkTileDirtyByTile(tile); YapfNotifyTrackLayoutChange(tile, railtrack); diff --git a/src/road_func.h b/src/road_func.h --- a/src/road_func.h +++ b/src/road_func.h @@ -58,7 +58,6 @@ static inline RoadTypes RoadTypeToRoadTy * * @param r The given RoadTypes * @return The complement of the given RoadTypes - * @note The unused value ROADTYPES_HWAY will be used, too. */ static inline RoadTypes ComplementRoadTypes(RoadTypes r) {