backport P_CheckSight from vanilla
Backport P_CheckSight as of STJr/SRB2!1546 (merged) (mostly a copy/paste + manual fixes job since I don't know if there's a proper way of doing this)
This prevents sight checks from being obstructed when they aren't (eg. slopes, fog blocks) and makes them properly obstructed by (sloped) FoFs