Skip to content

Fix #5685: Check for free wagons in ScriptVehicleList - #7617

Merged
LordAro merged 1 commit into
OpenTTD:masterfrom
aekruijssen:issue#5685
Jul 7, 2019
Merged

LordAro merged 1 commit into
OpenTTD:masterfrom
aekruijssen:issue#5685

Conversation

@aekruijssen

@aekruijssen aekruijssen commented Jun 5, 2019 •

Copy link
Copy Markdown
Contributor

Fixed issue #5685 (AI: wagons lost in depot because of lack of API feature) by adding in the suggested check for free wagons in ScriptVehicleList (and importing train.h so it would work).

@aekruijssen aekruijssen changed the title Fix #5685: AI: wagons lost in depot because of lack of API feature:Added free wagon check in ScriptVehicleList Fix #5685: Check for free wagons in ScriptVehicleList Jun 5, 2019
@glx22

glx22 commented Jun 5, 2019

Copy link
Copy Markdown
Contributor

Commit checker fails on the merge commit. An easy solution is to squash all your commits in one, using git rebase -i

LordAro
LordAro previously approved these changes Jul 7, 2019

@LordAro LordAro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This change is fine, I'm just going to squash the changes together myself

@LordAro
LordAro merged commit 6f28a0c into OpenTTD:master Jul 7, 2019
@LordAro LordAro added the backport requested This PR should be backport to current release (RC / stable) label Jul 7, 2019
michicc pushed a commit to michicc/OpenTTD that referenced this pull request Jul 7, 2019
@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.

4 participants