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

Long awaiting time when trying to build rainforest industries in desert #364

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

Comments

@DorpsGek
Copy link
Member

Meush opened the ticket and wrote:

r6733:

Game freezes* for a second-two, when trying to build some rainforest-only industries in desert, close to slopes with peaks to the west. There shouldn't be any grassy are around.

Also, it happens only in scenario editor, not in-game when funding an industry.

*By "freezes", I mean nothing happens, no animation is displayed, and the in-game mouse cursor doesn't respond to mouse moves
After a second-two, error message "Site unsuitable" pops up.

I think it may be related to a level-land routine so that industries won't happen to be built on a slope.

The industries are: Fruit Plantation, Rubber Plantation, Farm.
In the other cases, the error message is being displayed instantly.

Attachments

Reported version: trunk
Operating system: All


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

Belugas closed the ticket.

Reason for closing: Fixed

The search for industry placement was doing, at the worst, 1001 consecutive tests.
Commit r7198 changed it for a circular search pattern
Thanks for pointing it out


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

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 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