A bux fix for issue #340

There was a bug where if a character runs into a corner underwater, they get launched into the sky (I believe the underwater stairs was an example of this). The bug is fixed by a one liner. I think it was merely a typo.

Let me know if you guys need me to change anything for this pull request.