From: Andy D. <kha...@us...> - 2006-11-22 22:14:56
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24444/src/server/bulkobjects Modified Files: pscharacter.cpp Log Message: Fixed some bugs in putting to bulk inventory. Index: pscharacter.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/pscharacter.cpp,v retrieving revision 1.436 retrieving revision 1.437 diff -C2 -d -r1.436 -r1.437 *** pscharacter.cpp 22 Nov 2006 20:24:08 -0000 1.436 --- pscharacter.cpp 22 Nov 2006 22:14:54 -0000 1.437 *************** *** 534,539 **** if (!test) { - item->SetOwningCharacter(owner); - AddDimensionsToInventory(item); } --- 534,537 ---- *************** *** 548,552 **** { SubtractDimensionsFromInventory(item); // Nope, didn't work; take it back - item->Save(true); /* Return false which will let the caller know that the psItem it wanted to --- 546,549 ---- |