Thread: 050DR3 compile
View Single Post
  #4  
Old 09-23-2003, 07:03 AM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default

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.
Reply With Quote