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 error with str/int/dex displaying weirdly during char creation #64270

Conversation

anoobindisguise
Copy link
Contributor

Summary

Bugfixes "Resolved stat display error during character creation"

Purpose of change

Fixes #64242

Describe the solution

Set stored kcal to an expected value when displaying places it could cause an error.

Describe alternatives you've considered

Do set_stored_kcal fewer times, some of the places it's added may be redundant.

Testing

Cloned and compiled. Confirmed that the issue no longer happens at any height amount. Then tried spawning a character with XXXL and confirmed they spawned at a morbidly obese kcal level despite their stored kcal repeatedly being set to a healthy value during character creation.

Additional context

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` Character / World Generation Issues and enhancements concerning stages of creating a character or a world <Bugfix> This is a fix for a bug (or closes open issue) astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Mar 14, 2023
@kevingranade kevingranade merged commit c9ebb46 into CleverRaven:master Mar 15, 2023
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Mar 15, 2023
@anoobindisguise anoobindisguise deleted the anoobindisguise-fix-display-bug branch June 7, 2023 18:10
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 <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Character / World Generation Issues and enhancements concerning stages of creating a character or a world json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Character creation STAT-panel bugged visuals
2 participants