Adress some swimming/diving related issues
Fixes the following bugs:
- Camera stays under the character after diving to water surface.
- ~~After flying out of water by help of marvin F8 the character stays in swimming state.~~
- Too big health reduction after diving time is over. Vanilla is like 10dmg/s.
Ok, waterRay gives wrong values if the water surface is not free. Guard against it by checking for !isDive().
Actually swimming case works. Problematic cases are when you dive through the dam in the new camp in G1 or the paladin ship. There was also a bug depending on the orientation of the character.
I kicked it out and think about it again. I open a new PR if i come up with something useful.
@Try Is there something that needs to be changed? I left marvin stuff out.
Hi, sorry I kinda forgot about this PR, thank for poking me. Generally LGTM - will do testing today