View Single Post
  #2  
Old 06-08-2009, 12:48 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Could try reverting:

Code:
Index: common/Item.cpp
===================================================================
--- common/Item.cpp	(revision 638)
+++ common/Item.cpp	(working copy)
@@ -367,8 +367,9 @@
 void ItemInst::PutAugment(SharedDatabase *db, uint8 slot, uint32 item_id)
 {
 	if (item_id != 0) {
-		const ItemInst aug(db, item_id);
-		PutAugment(slot,aug);
+		const ItemInst* aug = db->CreateItem(item_id);
+		PutAugment(slot,*aug);
+		safe_delete(aug);
 	}
 }
And see if that helps, it was the only change to item.cpp outside adding the EvoItemInst stuff.
Reply With Quote