From: Anders R. <ma...@us...> - 2003-08-25 20:41:40
|
Update of /cvsroot/planeshift/planeshift/src/common/psprop/character In directory sc8-pr-cvs1:/tmp/cvs-serv30638/src/common/psprop/character Modified Files: pschardata.cpp pschardata.h Log Message: - Fixed sending of StatDR messages from server. Index: pschardata.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psprop/character/pschardata.cpp,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** pschardata.cpp 17 Aug 2003 08:07:08 -0000 1.44 --- pschardata.cpp 25 Aug 2003 20:41:33 -0000 1.45 *************** *** 688,692 **** // Use the update value to store dirty flag. // This update shall not set the dirty flag. ! bool update = statsDirty; AdjustHitPoints(hitpoints_rate*delta); AdjustMana(mana_rate*delta); --- 688,692 ---- // Use the update value to store dirty flag. // This update shall not set the dirty flag. ! int update = statsDirty; AdjustHitPoints(hitpoints_rate*delta); AdjustMana(mana_rate*delta); *************** *** 706,709 **** --- 706,710 ---- } + /* csPtr<iDataBuffer> celPcCharacterData::GetStatDRData () { *************** *** 746,749 **** --- 747,751 ---- return csPtr<iDataBuffer> (databuf); } + */ void celPcCharacterData::SetStatDRData(iDataBuffer* data) Index: pschardata.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psprop/character/pschardata.h,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** pschardata.h 17 Aug 2003 08:07:08 -0000 1.26 --- pschardata.h 25 Aug 2003 20:41:33 -0000 1.27 *************** *** 223,227 **** // Client update of the Stats virtual bool UpdateStatDRData(); ! virtual csPtr<iDataBuffer> GetStatDRData(); virtual void SetStatDRData(iDataBuffer* data); --- 223,227 ---- // Client update of the Stats virtual bool UpdateStatDRData(); ! // virtual csPtr<iDataBuffer> GetStatDRData(); virtual void SetStatDRData(iDataBuffer* data); *************** *** 522,529 **** --- 522,531 ---- } + /* virtual csPtr<iDataBuffer> GetStatDRData() { return scfParent->GetStatDRData(); } + */ virtual void SetStatDRData(iDataBuffer* buff) |