From: DaveG <da...@us...> - 2006-03-02 00:41:19
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29920/src/server/bulkobjects Modified Files: pscharacter.cpp Log Message: fixing missing NULL out of owning character on dropitem causing assert outs in certain cases Index: pscharacter.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/pscharacter.cpp,v retrieving revision 1.377 retrieving revision 1.378 diff -C2 -d -r1.377 -r1.378 *** pscharacter.cpp 26 Feb 2006 11:10:06 -0000 1.377 --- pscharacter.cpp 2 Mar 2006 00:41:16 -0000 1.378 *************** *** 1906,1909 **** --- 1906,1911 ---- angle = psserver->rng->Get()*2*PI; + item->SetOwningCharacter(NULL); + item->SetLocationInWorld( location.loc_sector, location.loc_x + sin(angle), |