FS#1355 - assertion when selling a vehicle

Attached to Project: OpenTTD
Opened by Zdeněk Sojka (SmatZ) - Saturday, 20 October 2007, 16:39 GMT
Last edited by Loïc GUILLOUX (glx) - Saturday, 20 October 2007, 16:41 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



in attached savegame, sell vehicle 50 (tram in the depot)
It asserts:

openttd: /mnt/svn/openttd/trunk/src/command.cpp:626: bool DoCommandP(TileIndex, uint32, uint32, void (*)(bool, TileIndex, uint32, uint32), uint32, bool): Assertion `res.GetCost() == res2.GetCost() && CmdFailed(res) == CmdFailed(res2)' failed.

Required newgrf: #openttdcoop grf set

I wasn't able to find some easier way to commit the assert...
This task depends upon

Closed by  Remko Bijker (Rubidium)
Saturday, 20 October 2007, 20:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r11317.
Comment by Zdeněk Sojka (SmatZ) - Saturday, 20 October 2007, 16:40 GMT
sorry, no "AI" category...