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 #7633: Allow zero-cost track conversion to succeed #7634

Merged
merged 1 commit into from Jul 6, 2019

Conversation

nielsmh
Copy link
Contributor

@nielsmh nielsmh commented Jul 1, 2019

Fix #7633 by keeping track of whether anything was actually converted at all, so conversion can succeed even when the final cost ends up zero.

@nielsmh nielsmh added the backport requested This PR should be backport to current release (RC / stable) label Jul 1, 2019
LordAro
LordAro previously approved these changes Jul 1, 2019
@LordAro
Copy link
Member

LordAro commented Jul 1, 2019

Technically, should be "convertible"...

@nielsmh nielsmh merged commit 81614f2 into OpenTTD:master Jul 6, 2019
@nielsmh
Copy link
Contributor Author

nielsmh commented Jul 6, 2019

If this gets backported, the road part obviously needs to be skipped since NRT isn't in 1.9 :)

@nielsmh nielsmh deleted the bug7633 branch July 6, 2019 19:05
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.

Extremely low (x1/128) track build/remove cost severely restricts the track conversion feature.
3 participants