The problem is on line 4333 of client_process.cpp. The wrong code may have been pushed out to CVS. Can you verify that the following is found on line 4333:
Code:
if (failproduct!=0) {
const Item_Struct* failitem = database.GetItem(failproduct);
ItemCommonInst common(failitem);
PutItemInInventory(SLOT_CURSOR, (ItemInst&)common, true);
}
If it's not found, replace the if() statement there with what you see here. We'll work on getting the fix into CVS.
As a side note, I don't believe it makese sense to instantiate an ItemInst on its own. That's why I made it abstract.