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

Buying an engine after buying wagons doesn't give a complete train. #7667

Closed
Alberth289346 opened this issue Jul 23, 2019 · 0 comments
Closed

Comments

@Alberth289346
Copy link
Contributor

Version of OpenTTD

master, revision 5981ed2

Expected result

I get a complete train by buying a few wagons, and then an engine.

Actual result

The engine is placed on a line by itself in the depot.

Steps to reproduce

  1. Start game with default base set at a sane year (I used 1930, but likely it doesn't matter)
  2. Place a depot for trains
  3. Open the buy menu, and buy 2 passenger wagons (or something else probably, didn't test)
  4. Buy an engine
  5. Get 2 lines in the depot:
    Screenshot_20190723_203412

Bisected this behavior back to d54b6ac as the first bad revision.

Many thanks to andythenorth for finding it was an OpenTTD bug.

stormcone added a commit to stormcone/OpenTTD that referenced this issue Jul 23, 2019
… complete train.

This commit sets the 'data' argument to it's original value as it was before d54b6ac.
stormcone added a commit to stormcone/OpenTTD that referenced this issue Jul 23, 2019
douiwby pushed a commit to douiwby/OpenTTD that referenced this issue Apr 16, 2020
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

1 participant