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

Unable to delete a level crossing whose rail is yours but whose road is owned by another company #6934

Closed
James103 opened this issue Oct 7, 2018 · 3 comments

Comments

@James103
Copy link
Contributor

@James103 James103 commented Oct 7, 2018

Using OpenTTD 1.8.0 on Win 7 Ultimate
I notice that whenever I try to delete a level crossing whose rail is yours but whose road is owned by another company, the entire action fails, even though only the rail should have been destroyed.

To Reproduce this bug:

  1. Play as Company 1.
  2. Build a rail piece.
  3. Switch to Company 2.
  4. Build a road piece on top of Company 1's rail piece. This should work as expected.
  5. Switch back to Company 1.
  6. You should end up with a level crossing whose rail is yours but whose road is owned by another company.
  7. Try to use the general demolish (bomb/dynamite) button to delete such a level crossing you just created. You'd expect for just the rail to be removed, leaving the road intact, but instead neither the rail nor the road get deleted, and you get an ERR_OWNED_BY_ANOTHER_COMPANY message.

This is you deleting the level crossing whose road is owned by you but whose rail is not owned by you. The road is deleted, but the rail stays.
image

This is you trying to delete the level crossing whose rail is owned by you but whose road is not owned by you. No element is deleted and you get an ERR_OWNED_BY_ANOTHER_COMPANY message.
Note: "IdlePlus Transport 1" is the name of the other company.
image

This is the expected result you should get when you delete the level crossing whose rail is owned by you but whose road is not owned by you. The rail is removed, but the road stays.
image

@Eddi-z
Copy link
Contributor

@Eddi-z Eddi-z commented Oct 7, 2018

not quite sure what you're asking for here.

title reads like a bug report, but description reads more like a feature request

@nielsmh
Copy link
Contributor

@nielsmh nielsmh commented Oct 7, 2018

IMO the dynamite tool should destroy everything on a tile, or fail entirely if there is one or more parts that can't be destroyed.

@andythenorth
Copy link
Contributor

@andythenorth andythenorth commented Oct 8, 2018

The established behaviour is that the dynamite tool clears an entire tile. It's not for selectively clearing.

The case can be made for selectively clearing, but it's not obviously better than the established behaviour. It's potato/potato, and the current behaviour is what players, AIs etc expect.

Thanks for reporting the issue, but closing this one :)

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

No branches or pull requests

4 participants