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

Farms above snowline in sub-arctic, no forests with NEWGRF "station name from nearby industry v1.23" #4017

Closed
DorpsGek opened this issue Aug 8, 2010 · 2 comments
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Aug 8, 2010

Radium opened the ticket and wrote:

== WARNING: Might be related to: #4002 - Crash when starting new sub-arctic game with ECS. Town vector beta 5 ==

Bug has been introduced in OpenTTD 1.0.3 (wasn't in 1.0.2)

When creating new map, farms are above snowline and no forests at the start. When the game resumes it looks like the forests spawn again above the snowline and the farms only under the snowline.

Since no newgrf code changed the past 2-3 months, I conclude it must be OpenTTD

Reported version: 1.0.3
Operating system: Windows


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

DorpsGek commented Aug 8, 2010

frosch wrote:

What actually happens:
During map generation industries are created before the tileloop runs. And snow appears first during the tileloop.

Since 1.0.3 newgrfs check for snow using the groundtypes stored in the maparray (which are set during the tileloop) and no longer using the snowline-height variable (set from the start).


This comment was imported from FlySpray: https://bugs.openttd.org/task/4017#comment8487

@DorpsGek
Copy link
Member Author

DorpsGek commented Aug 8, 2010

frosch closed the ticket.

Reason for closing: Fixed

in r20418


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

@DorpsGek DorpsGek closed this as completed Aug 8, 2010
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) component: NewGRF This issue is related to NewGRFs bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant