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

Correct check for warmth from sunlight #30199

Merged
merged 1 commit into from
May 3, 2019

Conversation

esotericist
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Correct check for warmth from sunlight"

Purpose of change

In the body warmth logic, there was a transposed ternary that caused sunlight warmth to be only applied while indoors, instead of the expected of sunlight only applying while indoors.

Describe the solution

Swap the bits around.

Describe alternatives you've considered

Could've held off on changing this until some other changes are made, since this is going to make early spring survival harder. But, well, a bug is a bug.

@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: Temperature Freezing, cooling, thawing, heating, etc. mechanics labels May 3, 2019
@ZhilkinSerg ZhilkinSerg merged commit 0324c58 into CleverRaven:master May 3, 2019
@esotericist esotericist deleted the sunlight-warmth-fix branch August 3, 2019 02:45
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: Temperature Freezing, cooling, thawing, heating, etc. mechanics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants