diff options
author | PeterN <peter1138@openttd.org> | 2021-05-12 18:17:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 18:17:57 +0100 |
commit | b972ed86045e1c287d03b3f7cda1ff21243d00fe (patch) | |
tree | e1ffee27f4ae434b4758fe8a3ffcca141398959d /src/thread.h | |
parent | 7b7dbbc935c32263be800c0e22831e52ace813e9 (diff) | |
download | openttd-b972ed86045e1c287d03b3f7cda1ff21243d00fe.tar.xz |
Fix #9242: Tree tick handler did not scale by map size. (#9246)
This means that random tree generation density is higher on small maps and lower on large maps. This difference is enough to make the Lumber Mill impractical to use on large maps.
This change skips ticks on maps smaller than 256x256 and increases iterations or shortens the interval on maps larger than 256x256.
Diffstat (limited to 'src/thread.h')
0 files changed, 0 insertions, 0 deletions