FS#6662 - Crash building lock.

Attached to Project: OpenTTD
Opened by Hans (hackalittlebit) - Friday, 12 January 2018, 01:02 GMT
Last edited by Peter Nelson (peter1138) - Monday, 05 March 2018, 23:46 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


Crash when building lock on NW border.

Set freeform_edges = false in openttd.cfg
Build lock.

See foto.

Happy new year. ;-)

Lock_crash.patch (all the docs + .sav)

This task depends upon

Closed by  Peter Nelson (peter1138)
Monday, 05 March 2018, 23:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r27973
Comment by James (james1101) - Thursday, 18 January 2018, 23:08 GMT
Can reproduce in OTTD 1.7.2-RC1 using Win 7 Ultimate.
EDIT: Additional valid reproduction steps:
You will need an object NewGRF that provides build in water objects to do this.
1. Set freeform_edges = 0 in openttd.cfg
2. Build the object that should go in water.
3. Build canal tiles over it.
(application/octet-stream)    crash.dmp (12.68 MiB)
   crash.log (15.4 KiB)
   crash.png (125.2 KiB)
(application/octet-stream)    crash.sav (23.2 KiB)