1 | /* |
1 | /* |
2 | * static char *rcsid_player_c = |
2 | * static char *rcsid_player_c = |
3 | * "$Id: player.C,v 1.7 2006/08/27 16:15:13 root Exp $"; |
3 | * "$Id: player.C,v 1.8 2006/08/27 17:59:26 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 | /* Clears basically the entire player structure except |
228 | /* Clears basically the entire player structure except |
229 | * for next and socket. |
229 | * for next and socket. |
230 | */ |
230 | */ |
231 | memset (static_cast<player_memset *>(p), 0, sizeof (player_memset)); |
231 | memset (static_cast<player_memset *>(p), 0, sizeof (player_memset)); |
232 | p->extendable_init (); //HACK |
232 | p->attachable_init (); //HACK |
233 | |
233 | |
234 | /* There are some elements we want initialized to non zero value - |
234 | /* There are some elements we want initialized to non zero value - |
235 | * we deal with that below this point. |
235 | * we deal with that below this point. |
236 | */ |
236 | */ |
237 | p->party=NULL; |
237 | p->party=NULL; |