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 worn wrapper warmth function not checking for bp coverage #55973

Merged
merged 2 commits into from
Mar 10, 2022

Conversation

Crupette
Copy link
Contributor

@Crupette Crupette commented Mar 9, 2022

Summary

None

Purpose of change

Fixes #55972

Describe the solution

Before, the warmth function introduced by the new wrapper did not check for coverage when iterating through bp's.
This adds a check for clothing.covers(bp)

Describe alternatives you've considered

Let the player boil

Testing

Create a naked character, noting temperature
Give the character a pair of wool socks
Check if temperature is only changed for the feet

Additional context

@github-actions github-actions bot added the [C++] Changes (can be) made in C++. Previously named `Code` label Mar 9, 2022
@Maleclypse Maleclypse added <Bugfix> This is a fix for a bug (or closes open issue) Limbs Limbs, mutable limbs, and code related to them. labels Mar 9, 2022
@github-actions github-actions bot added the json-styled JSON lint passed, label assigned by github actions label Mar 9, 2022
@Crupette Crupette changed the title Fix worn wrapper not checking for bp coverage Fix worn wrapper warmth function not checking for bp coverage Mar 9, 2022
@github-actions github-actions bot added BasicBuildPassed This PR builds correctly, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Mar 9, 2022
@kevingranade kevingranade merged commit f0a49a0 into CleverRaven:master Mar 10, 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 <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions Limbs Limbs, mutable limbs, and code related to them.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All clothing insulates all bodyparts
3 participants