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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.15 by root, Mon Sep 4 11:08:00 2006 UTC vs.
Revision 1.16 by root, Tue Sep 5 18:18:09 2006 UTC

1/* 1/*
2 * static char *rcsid_player_c = 2 * static char *rcsid_player_c =
3 * "$Id: player.C,v 1.15 2006/09/04 11:08:00 root Exp $"; 3 * "$Id: player.C,v 1.16 2006/09/05 18:18:09 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
227 } 227 }
228 228
229 /* Clears basically the entire player structure except 229 /* Clears basically the entire player structure except
230 * for next and socket. 230 * for next and socket.
231 */ 231 */
232 memset (static_cast<player_pod *>(p), 0, sizeof (player_pod)); 232 p->clear ();
233 p->attachable_clear ();
234 233
235 /* There are some elements we want initialized to non zero value - 234 /* There are some elements we want initialized to non zero value -
236 * we deal with that below this point. 235 * we deal with that below this point.
237 */ 236 */
238 p->party = NULL; 237 p->party = NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines