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

Keep town growth rate in sync with house count #6397

Closed
DorpsGek opened this issue Nov 24, 2015 · 1 comment
Closed

Keep town growth rate in sync with house count #6397

DorpsGek opened this issue Nov 24, 2015 · 1 comment

Comments

@DorpsGek
Copy link

@DorpsGek DorpsGek commented Nov 24, 2015

dp opened the ticket and wrote:

I had this thing on my mind for quite a while, but separation of growth rate from growth flag I did for #6378 makes it a lot easier.

Right now town growth rate is normally updated only once a month. This have a nasty side-effect of town growth speed being influenced by game date. It's especially troublesome in citybuilder. For example, imagine two cities that are very close on growth, just one is a day behind the other. At some point they switch from growing 1 house in 2 days to 1 house every day. But first city does it on 31 dec and second would've done it on 1 jan but because of monthly update it only gets it on 1 feb. So, suddenly, on 1 feb first city is 15 houses larger than second one only because it was lucky to get its growth changed before the new month.

So instead of monthly updates this patch keeps town growth rate in sync with house count. It is supposed to be applied on top of my patch for #6378.

Attachments

Reported version: 1.5.3-RC1
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6397
@frosch123 frosch123 removed the Core label Apr 14, 2018
michicc added a commit that referenced this issue Jun 24, 2018
Takes some code and ideas from #6378 patch, but doesn't change anything GS-related.
@andythenorth andythenorth added the stale label Jan 5, 2019
@andythenorth

This comment has been minimized.

Copy link
Contributor

@andythenorth andythenorth commented Jan 12, 2019

I missed that this was merged already, cleaning labels and closing. Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.