From: Andy D. <kha...@us...> - 2004-12-15 00:26:15
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25077/src/server Modified Files: entitymanager.cpp Log Message: Client now stops attacking when changing target. Index: entitymanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/entitymanager.cpp,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** entitymanager.cpp 14 Dec 2004 10:06:02 -0000 1.62 --- entitymanager.cpp 15 Dec 2004 00:26:05 -0000 1.63 *************** *** 519,522 **** --- 519,524 ---- { client->SetTargetObject(object); // have special tracking for this for fast processing of other messages + // Changed target so stop attacking. + psserver->GetCombatManager()->StopAttack(client->GetActor()); if (object != NULL) object->SendTargetStatDR(client); |