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

Bulding house at the end of a road does not reset town growth counter #6362

Closed
DorpsGek opened this issue Aug 13, 2015 · 1 comment
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

dp opened the ticket and wrote:

Just found another bug introduced by my patch for #6245 :[ In GrowTownAtRoad when town has no road to follow it returns false even though _grow_town_result may actually be GROWTH_SUCCEED meaning house was built. Which in turn leads to growth_counter not being reset resulting in "free" house.

You can see this bug in action here: http://www.twitch.tv/gelidid/v/10532858?t=21m45
Counter was not reset after 99th house (still says next: 1) so 100th was build immediately after

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6362
@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r27420. Thanks for the patch!


This comment was imported from FlySpray: https://bugs.openttd.org/task/6362

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant