* Checks the tile and returns whether the current player is allowed to convert the roadtype to another roadtype without taking ownership * @param owner the tile owner. * @param rtt Road/tram type. * @return whether the road is convertible */
| 2410 | * @return whether the road is convertible |
| 2411 | */ |
| 2412 | static bool CanConvertUnownedRoadType(Owner owner, RoadTramType rtt) |
| 2413 | { |
| 2414 | return (owner == OWNER_NONE || (owner == OWNER_TOWN && rtt == RTT_ROAD)); |
| 2415 | } |
| 2416 | |
| 2417 | /** |
| 2418 | * Convert the ownership of the RoadType of the tile if applicable |