Difference for socket/request.c from version 1.36 to 1.37


version 1.36 version 1.37
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: request.c,v 1.36 2002/05/19 05:47:43 mwedel Exp $";   *    "$Id: request.c,v 1.37 2002/05/20 03:11:50 mwedel Exp $";
  */   */
   
 /*  /*
Line 1247
 
Line 1247
  * if not already done.  If the client is using darkness, and   * if not already done.  If the client is using darkness, and
  * this space is at the edge, we also include the darkness.   * this space is at the edge, we also include the darkness.
  */   */
  if (d==4 && pl->contr->socket.darkness && pl->contr->socket.lastmap.cells[ax][ay].count != d) {   if (d==4) {
        if (pl->contr->socket.darkness && pl->contr->socket.lastmap.cells[ax][ay].count != d) {
      mask |= 8;       mask |= 8;
      SockList_AddShort(&sl, mask);       SockList_AddShort(&sl, mask);
      SockList_AddChar(&sl, 0);       SockList_AddChar(&sl, 0);
        }
      count = d;       count = d;
  } else {   } else {
      SockList_AddShort(&sl, mask);       SockList_AddShort(&sl, mask);
      if (pl->contr->socket.lastmap.cells[ax][ay].count != -1) need_send=1;       if (pl->contr->socket.lastmap.cells[ax][ay].count != -1) need_send=1;
      count = -1;       count = -1;
  }   }
   
  if (pl->contr->socket.mapmode == Map1aCmd && have_head(ax, ay)) {   if (pl->contr->socket.mapmode == Map1aCmd && have_head(ax, ay)) {
      /* Now check to see if any heads need to be sent */       /* Now check to see if any heads need to be sent */
   


Legend:
line(s) removed in v.1.36 
line(s) changed
 line(s) added in v.1.37

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