Skip to content

Bridge supports hidden under different corners#3479

Merged
AaronVanGeffen merged 3 commits intoOpenLoco:masterfrom
LeeSpork:bridge-supports-hidden-under-different-corners
Nov 28, 2025
Merged

Bridge supports hidden under different corners#3479
AaronVanGeffen merged 3 commits intoOpenLoco:masterfrom
LeeSpork:bridge-supports-hidden-under-different-corners

Conversation

@LeeSpork
Copy link
Copy Markdown
Contributor

@LeeSpork LeeSpork commented Nov 24, 2025

Fixes #2957 - appears to restore vanilla behaviour. This fix was determined by trial and error.

image


const auto supportLengths = [&session, &bridgeEntry, &bridgeObj, pillarSpacing, supportLength, slope]() -> std::optional<SupportLengths> {
if ((bridgeEntry.edgesQuarters & ((1U << 5) | (1U << 4))) == ((1U << 5) | (1U << 4)))
if ((bridgeEntry.edgesQuarters & ((1U << 6) | (1U << 5))) == ((1U << 6) | (1U << 5)))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can confirm that this matches vanilla
image

0b0110_0000

@AaronVanGeffen AaronVanGeffen enabled auto-merge (squash) November 28, 2025 20:47
@AaronVanGeffen AaronVanGeffen merged commit be79c75 into OpenLoco:master Nov 28, 2025
11 checks passed
@AaronVanGeffen AaronVanGeffen added this to the v25.11+ milestone Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong bridge supports are hidden when the view is rotated North or South

3 participants