FS#4631 - rescan_ai does weird things

Attached to Project: OpenTTD
Opened by Brumi (Brumi) - Wednesday, 01 June 2011, 15:30 GMT
Last edited by Thijs Marinussen (Yexo) - Friday, 03 June 2011, 19:18 GMT
Type Bug
Category Script → NoAI
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 1.1.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


If I type rescan_ai, some strange things happen. The AI debug window displays something wrong instead of the name of the AI, and OpenTTD eventually crashes to desktop when I select different AIs in the debug window.
I've also found a way to reproduce the crash to desktop:
1. Open the samegame attached.
2. Type in 'rescan_ai'
3. Try to take a screenshot using Ctrl+S. Crash! (at least for me)
This task depends upon

Closed by  Thijs Marinussen (Yexo)
Friday, 03 June 2011, 19:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r22535