version 1.48 | | version 1.49 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.48 2006/03/18 15:05:37 ryo_saeba Exp $"; | | * "$Id: init.c,v 1.49 2006/05/18 05:27:44 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
ns->has_readable_type = 0; | | ns->has_readable_type = 0; |
ns->supported_readables = 0; | | ns->supported_readables = 0; |
ns->monitor_spells = 0; | | ns->monitor_spells = 0; |
| | ns->tick=0; |
| | |
/* we should really do some checking here - if total clients overflows | | /* we should really do some checking here - if total clients overflows |
* we need to do something more intelligent, because client id's will start | | * we need to do something more intelligent, because client id's will start |
| | |
memset(ns->faces_sent, 0, ns->faces_sent_len*sizeof(*ns->faces_sent)); | | memset(ns->faces_sent, 0, ns->faces_sent_len*sizeof(*ns->faces_sent)); |
memset(&ns->anims_sent,0,sizeof(ns->anims_sent)); | | memset(&ns->anims_sent,0,sizeof(ns->anims_sent)); |
memset(&ns->stats,0,sizeof(struct statsinfo)); | | memset(&ns->stats,0,sizeof(struct statsinfo)); |
| | ns->map_scroll_x=0; |
| | ns->map_scroll_y=0; |
/* Do this so we don't send a face command for the client for | | /* Do this so we don't send a face command for the client for |
* this face. Face 0 is sent to the client to say clear | | * this face. Face 0 is sent to the client to say clear |
* face information. | | * face information. |