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

Fix #7224: Drag and drop vehicle group creation does not work correctly. #7581

Merged
merged 1 commit into from May 10, 2019

Conversation

stormcone
Copy link
Contributor

When drag and drop a vehicle into an empty slot in the vehicle group window it tries to create the new group as the subgroup of the first group (GroupID = 0). This is failing if the dragged vehicle's type is different than the first group's vehicle type.

…correctly.

When drag and drop a vehicle into an empty slot in the vehicle group window it tries to create the new group as the subgroup of the first group (GroupID = 0). This is failing if the dragged vehicle's type is different than the first group's vehicle type.
Copy link
Contributor

@nielsmh nielsmh left a comment

Choose a reason for hiding this comment

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

I did notice this bug myself, and the fix here looks right.

@nielsmh nielsmh added the backport requested This PR should be backport to current release (RC / stable) label May 10, 2019
@PeterN
Copy link
Member

PeterN commented May 10, 2019

Oh dear, I never knew that was a thing, hence didn't test it!

@nielsmh nielsmh merged commit 24c5928 into OpenTTD:master May 10, 2019
@stormcone stormcone deleted the patch-1 branch May 10, 2019 17:58
@michicc michicc added backported This PR is backported to a current release (RC / stable) and removed backport requested This PR should be backport to current release (RC / stable) labels Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported This PR is backported to a current release (RC / stable)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants