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

Alignment issues dragging articulated vehicles in depot #8762

Closed
mattkimber opened this issue Feb 27, 2021 · 2 comments
Closed

Alignment issues dragging articulated vehicles in depot #8762

mattkimber opened this issue Feb 27, 2021 · 2 comments

Comments

@mattkimber
Copy link
Contributor

Version of OpenTTD

Nightly 20210226-master-gaf326753a9

Expected result

This is the result of dragging a vehicle from a NewGRF providing articulated vehicles in 1.11 beta 1:

drag_work

Actual result

This is the result in a recent nightly:

drag_nightly

The articulated units split apart and become misaligned. This is an extreme case (Timberwolf's Trains has each vehicle composed of 3 articulated units, so the screenshot is actually a 6-unit articulated vehicle) but can be observed in any GRF which provides articulated vehicles, either road or rail.

This does not affect non-articulated vehicles, or vehicles using the built-in "double-headed" logic. It may only affect vehicles shorter than 8/8, I was unable to assemble enough GRFs to test this theory.

I also noted in this version that the vehicles do not align with the "sell vehicle" and other buttons, this may be related.

Steps to reproduce

Install a NewGRF providing articulated vehicles (tested: Timberwolf's Trains, Timberwolf's UK Road Vehicles 3, Bob's Random British Vehicles).
Build an articulated vehicle in depot.
Drag the vehicle.

@stormcone
Copy link
Contributor

Can you try with the current nightly (2021-02-27)? I think #8757 should have solved this problem.

@mattkimber
Copy link
Contributor Author

Yep, latest nightly fixes the problem. (I managed to miss that issue while looking to see if one was already open :/ )

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

2 participants