OpenTTD

Tasklist

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

Attached to Project: OpenTTD
Opened by Meush (Meush) - Wednesday, 11 October 2006, 16:10 GMT
Last edited by Darkvater (Darkvater) - Thursday, 02 November 2006, 17:36 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version 0.5.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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.
This task depends upon

Closed by  Jean-Francois Claeys (Belugas)
Friday, 17 November 2006, 23:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  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

Loading...