FS#3397 - assert while cloning a train

Attached to Project: OpenTTD
Opened by Ingo von Borstel (planetmaker) - Monday, 21 December 2009, 11:34 GMT
Last edited by Remko Bijker (Rubidium) - Monday, 21 December 2009, 17:45 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version 1.0.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Reproduce: Load DBSetXL; New temperate game; Build Depot, Build BR18 + local mail + local pass; clone; crash.
Assert: src/vehicle_gui.cpp:184: byte GetBestFittingSubType(Vehicle*, Vehicle*): Assertion `HasBit(e_for->info.refit_mask, v_from->cargo_type)' failed

Tested in trunk r18528

See also
This task depends upon

Closed by  Remko Bijker (Rubidium)
Monday, 21 December 2009, 17:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r18590