ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/request.C
(Generate patch)

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.125 by root, Tue Apr 22 04:33:20 2008 UTC vs.
Revision 1.127 by root, Tue Apr 22 07:28:05 2008 UTC

886 886
887/** 887/**
888 * Tells the client that here is a player it should start using. 888 * Tells the client that here is a player it should start using.
889 */ 889 */
890void 890void
891esrv_new_player (player *pl, uint32 weight) 891esrv_new_player (player *pl)
892{ 892{
893 sint32 weight = pl->ob->client_weight ();
894
893 packet sl ("player"); 895 packet sl ("player");
894 896
895 sl << uint32 (pl->ob->count) 897 sl << uint32 (pl->ob->count)
896 << uint32 (weight) 898 << uint32 (weight)
897 << uint32 (pl->ob->face) 899 << uint32 (pl->ob->face)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines