FS#656 - Bug on restarting scenario after new industries were built

Attached to Project: OpenTTD
Opened by lordcerber (lordcerber) - Thursday, 01 March 2007, 11:18 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I have found a bug in game. I have played nightly builds, 0.5 rc5 and 0.5 final.
To get this bug: start the scenario with NO industries. Wait while industries are built. restart the scenario. open industries list. 0.5 final just crashed. Earliar i had "0,0" located industries in the list, not produsing, and no new industries were founded. when I purchased the industry forcibly game crashed as well.
Havent tryed it if industries existed in scenario from start.

Looks like the array that keeps the industries list is not completly cleared when the game finishes.

Attached crash log
This task depends upon

Closed by  Remko Bijker (Rubidium)
Friday, 02 March 2007, 19:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r8980.