Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix corrupted crusher not spawning roots when hit.top #2584

Merged
merged 2 commits into from
Aug 20, 2023

Conversation

Narre
Copy link
Contributor

@Narre Narre commented Aug 17, 2023

When the corrupted Crusher was added, for some reason, it was only programmed to spawn CrusherRoots when hitting bottom, left or right, but not top. This prevented it from spawning the roots during levelflip. The roots didn't even have a sprite action for that direction.

Also, CRLF→LF in corrupted Crusher and CrusherRoot sprite files.

Left = before, right = this PR

022-2023-08-17_17.05.00.mp4

@mrkubax10 mrkubax10 added category:code status:needs-review Work needs to be reviewed by other people type:bugfix Pull Requests that fix bugs. labels Aug 17, 2023
src/badguy/crusher.cpp Outdated Show resolved Hide resolved
@Narre Narre requested a review from tobbi August 19, 2023 18:51
@mrkubax10 mrkubax10 merged commit 45bad76 into SuperTux:master Aug 20, 2023
33 of 34 checks passed
@mrkubax10 mrkubax10 removed the status:needs-review Work needs to be reviewed by other people label Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:code type:bugfix Pull Requests that fix bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants