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

Corrected 'check_support' #78209

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Corrected 'check_support' #78209

merged 2 commits into from
Nov 28, 2024

Conversation

PatrikLundell
Copy link
Contributor

Summary

None

Purpose of change

Fix #78202, i.e. inability to construct roof on top of doors (and windows).

Describe the solution

Replace check of the non working "CONNECT_WITH_WALL" flag with checks for the "DOOR" and "WINDOW" flags.

Describe alternatives you've considered

See if there are other flags (beyond DOOR and WINDOW) that might be applicable. I've failed to find any. Embrasures are flagged as walls, and so work.

Testing

Loading the bug report save and being able to build a roof over the door, the next wall segment, and the window, but not over the floor, except in the corner, where it's supported by roofs on both sides.

Additional context

@github-actions github-actions bot added Crafting / Construction / Recipes Includes: Uncrafting / Disassembling [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Nov 28, 2024
@Maleclypse Maleclypse merged commit 9704dc9 into CleverRaven:master Nov 28, 2024
22 of 28 checks passed
@PatrikLundell PatrikLundell deleted the roof branch November 28, 2024 15:47
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` Crafting / Construction / Recipes Includes: Uncrafting / Disassembling json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't build any type of roof over doorway
2 participants