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

Fixes check for broken limbs when using muscle engines #34759

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

AlexMooney
Copy link
Contributor

@AlexMooney AlexMooney commented Oct 14, 2019

Summary

SUMMARY: Bugfixes "Fixes check for broken limbs when using muscle engines"

Purpose of change

Fixes #34737 - Incorrect Error Message on Foot Pedals

Describe the solution

The comparison of limbs was backwards; flip the operators.

Describe alternatives you've considered

None.

Testing

I made a wooden frame with a saddle, controls, and a foot crank. With master, I got the broken leg message; with this branch I get "the engine starts" and "the engine stops".

Additional context

#34737

@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Character / Player Character / Player mechanics Mechanics: Effects / Skills / Stats Effects / Skills / Stats labels Oct 15, 2019
@ZhilkinSerg ZhilkinSerg merged commit 142a406 into CleverRaven:master Oct 15, 2019
@AlexMooney AlexMooney deleted the fix_broken_limb_check branch August 25, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Character / Player Character / Player mechanics Mechanics: Effects / Skills / Stats Effects / Skills / Stats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Error Message on Foot Pedals
2 participants