From: Anders R. <ma...@us...> - 2005-01-24 04:54:23
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28607/src/server Modified Files: entitymanager.cpp Log Message: - Fixed so that the context command use the same function as select. - Changes a lot of \t til spaces according to ps code standard. Index: entitymanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/entitymanager.cpp,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** entitymanager.cpp 19 Jan 2005 03:06:41 -0000 1.79 --- entitymanager.cpp 24 Jan 2005 04:54:14 -0000 1.80 *************** *** 502,505 **** --- 502,508 ---- gemObject *object = gem->FindObject(action.target); + + client->SetTargetObject(object); // have special tracking for this for fast processing of other messages + if (action.target && !object) { *************** *** 510,514 **** if (action.action == "select" || action.action == "context") { - client->SetTargetObject(object); // have special tracking for this for fast processing of other messages if (object != NULL) object->SendTargetStatDR(client); --- 513,516 ---- |