File diff r18001:8d1b53a88f0a → r18002:c61bc6e40723
src/tunnelbridge_cmd.cpp
Show inline comments
 
@@ -673,9 +673,15 @@ static inline CommandCost CheckAllowRemo
 
		}
 

	
 
		case TRANSPORT_RAIL:
 
		case TRANSPORT_WATER:
 
			return CheckOwnership(GetTileOwner(tile));
 

	
 
		case TRANSPORT_WATER: {
 
			/* Always allow to remove aqueducts without owner. */
 
			Owner aqueduct_owner = GetTileOwner(tile);
 
			if (aqueduct_owner == OWNER_NONE) aqueduct_owner = _current_company;
 
			return CheckOwnership(aqueduct_owner);
 
		}
 

	
 
		default: NOT_REACHED();
 
	}
 
}