SuperTux / supertux

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

Frozen walking stump atop of snowman on trampolines causes strange behavior #2196

Open CeIestiaI opened 2 years ago

CeIestiaI commented 2 years ago

SuperTux version:| 0.6.3

Expected behavior:| The snowman should be able to have the frozen walking stump atop of its head and be able to jump and move on the trampolines without getting crushed into the trampolines by it.

Actual behavior:| The snowman is being crushed by the frozen walking stump into the trampolines which causes the trampolines to move consistently and produce sound consistently.

Steps to reproduce actual behavior:| Video below

Additional debugging information:|

https://user-images.githubusercontent.com/83178674/164950086-bae91b9b-75ca-4c17-9fb5-fbb044773208.mp4

Semphriss commented 2 years ago

Updated title because undefined behavior has a particular meaning regarding the code in C++.