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

Aligns mutation.cpp with other uses of condition.cpp #55004

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

MylieDaniels
Copy link
Contributor

Summary

Bugfixes "Triggered mutations can now use more (all?) conditions"

Purpose of change

This fixes cases of condition triggered mutations being unable to use all conditions. I noticed this while working on changes to the Alpha mutations.

Describe the solution

Makes the Character pointer passed to condition.cpp non-constant, aligned with effect_on_condition.cpp.

Describe alternatives you've considered

Testing

Was able to reliably trigger mutations based on conditions that did not work before, notably "vitamin".

Additional context

Makes the Character pointer passed to condition.cpp non-constant, aligned with effect_on_condition.cpp.

This fixes cases of condition triggered mutations being unable to use all conditions.
@github-actions github-actions bot added json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Feb 1, 2022
@Maleclypse Maleclypse added [C++] Changes (can be) made in C++. Previously named `Code` Items: Food / Vitamins Comestibles and drinks Mutations / Traits / Professions/ Hobbies Mutations / Traits / Professions/ Hobbies labels Feb 1, 2022
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Feb 2, 2022
@kevingranade kevingranade merged commit 0e92ada into CleverRaven:master Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Items: Food / Vitamins Comestibles and drinks json-styled JSON lint passed, label assigned by github actions Mutations / Traits / Professions/ Hobbies Mutations / Traits / Professions/ Hobbies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants