The Y coordinate at which to fire a projectile is currently assumed to be the target's current Y position, which is incorrect if the target is moving on a slope.
This fixes that.
I'm wondering if we shouldn't actually fire a little above, just to make sure we don't hit the ground. The collision code doesn't really care (I do think we should probably rewrite it).
As noted by bb in rP24701