Difference for socket/request.c from version 1.47 to 1.48


version 1.47 version 1.48
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: request.c,v 1.47 2003/03/19 08:04:51 mwedel Exp $";   *    "$Id: request.c,v 1.48 2003/04/02 08:13:31 mwedel Exp $";
  */   */
   
 /*  /*
Line 1227
 
Line 1227
  */   */
   
  oldlen = sl.len;   oldlen = sl.len;
   #if 0
  /* First thing we do is blank out this space (clear it)   /* First thing we do is blank out this space (clear it)
  * 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.
Line 1238
 
Line 1239
  SockList_AddChar(&sl, 0);   SockList_AddChar(&sl, 0);
      }       }
      count = d;       count = d;
  } else {   } else
   #endif
    {
      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;
Line 1365
 
Line 1368
  return;   return;
     }      }
   
       if(pl->map == NULL || pl->map->in_memory != MAP_IN_MEMORY) {
    LOG(llevError,"draw_client_map called with no map/map out of memory\n");
    return;
       }
   
   
     /* IF player is just joining the game, he isn't here yet, so the map      /* IF player is just joining the game, he isn't here yet, so the map
      * can get swapped out.  If so, don't try to send them a map.  All will       * can get swapped out.  If so, don't try to send them a map.  All will
      * be OK once they really log in.       * be OK once they really log in.


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

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