Difference for socket/request.c from version 1.53 to 1.54


version 1.53 version 1.54
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: request.c,v 1.53 2003/10/08 07:20:37 mwedel Exp $";   *    "$Id: request.c,v 1.54 2003/12/01 05:45:18 mwedel Exp $";
  */   */
   
 /*  /*
Line 1178
 
Line 1178
  heads[(sy * MAX_HEAD_POS + sx) * MAX_LAYERS + i] = NULL;   heads[(sy * MAX_HEAD_POS + sx) * MAX_LAYERS + i] = NULL;
      }       }
      else {       else {
    /* If this head is stored away, clear it - otherwise,
    * there can be cases where a object is on multiple layers -
    * we only want to send it once.
    */
    face_num = head->face->number;
    for (i=0; i<MAP_LAYERS; i++)
        if (heads[(by * MAX_HEAD_POS + bx) * MAX_LAYERS + i] &&
    heads[(by * MAX_HEAD_POS + bx) * MAX_LAYERS + i]->face->number == face_num)
    heads[(by * MAX_HEAD_POS + bx) * MAX_LAYERS + i] = NULL;
   
  /* First, try to put the new head on the same layer.  If that is used up,   /* First, try to put the new head on the same layer.  If that is used up,
  * then find another layer.   * then find another layer.
  */   */


Legend:
line(s) removed in v.1.53 
line(s) changed
 line(s) added in v.1.54

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