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

[Bug]: Assert when removing road or tram tracks from a shared road/tram bridge #10133

Closed
2TallTyler opened this issue Nov 4, 2022 · 0 comments · Fixed by #10138
Closed

[Bug]: Assert when removing road or tram tracks from a shared road/tram bridge #10133

2TallTyler opened this issue Nov 4, 2022 · 0 comments · Fixed by #10138
Assignees
Labels
bug Something isn't working

Comments

@2TallTyler
Copy link
Member

Version of OpenTTD

Nightly (f24286a), Windows 10

Expected result

Bridges with both road and tram types can have either the road or tram removed without demolishing the bridge.

Actual result

Attempting to remove either the road or tram from the bridge results in an assertion failure:

Assertion failed at line 54 of road_map.h: IsTileType(t, MP_ROAD)

Steps to reproduce

RoadTramAssert.zip

  1. Load the attached savegame using NewGRF road types and a NewGRF tram set (U&RaTT: Mini and Road Hog)
  2. Attempt to remove either the road or the tram from the shared bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant