Text this: The effects of disc warping on the inclination of planetary orbits