SuperTux / supertux

SuperTux source code
https://supertux.org
GNU General Public License v3.0
2.5k stars 479 forks source link

Climbing ladder underwater weirdly offsets Tux #2981

Closed weluvgoatz closed 1 month ago

weluvgoatz commented 3 months ago

If you, for whatever reason, press up on a ladder that is underwater, Tux will be pushed to the left or right for whatever reason.

MatusGuy commented 3 months ago

You should just not be able to climb underwater, right?

weluvgoatz commented 2 months ago

Correct

Brockengespenst commented 2 months ago

Climbing while swimming should already be blocked. A quick test in a self created level with the latest git state did not show any weird behavior, maybe a special setup is needed to reproduce this? Does this happen in an official level or could you provide a test level to reproduce the behavior?

Brockengespenst commented 2 months ago

Ah Ok, I see. There is some code in Climbable that affects Tux as well. I'll create a PR that should prevent this.