Difference for socket/init.c from version 1.48 to 1.49


version 1.48 version 1.49
Line 1
 
Line 1
 /*  /*
  * 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 $";
  */   */
   
 /*  /*
Line 124
 
Line 124
     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
Line 141
 
Line 142
     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.


Legend:
line(s) removed in v.1.48 
line(s) changed
 line(s) added in v.1.49

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:34