Difference for socket/item.c from version 1.8 to 1.9


version 1.8 version 1.9
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *    "$Id: item.c,v 1.8 2000/11/08 07:19:37 cvs Exp $";   *    "$Id: item.c,v 1.9 2000/11/14 07:35:06 cvs Exp $";
  */   */
   
 /*  /*
Line 135
 
Line 135
 void esrv_draw_look(object *pl)  void esrv_draw_look(object *pl)
 {  {
     object *tmp, *last;      object *tmp, *last;
     int flags, got_one=0,len,anim_speed;      int flags, got_one=0,anim_speed;
     SockList sl;      SockList sl;
     char *buf;  
   
     if (!pl->contr->socket.update_look) {      if (!pl->contr->socket.update_look) {
  LOG(llevDebug,"esrv_draw_look called when update_look was not set\n");   LOG(llevDebug,"esrv_draw_look called when update_look was not set\n");
Line 233
 
Line 232
 void esrv_send_inventory(object *pl, object *op)  void esrv_send_inventory(object *pl, object *op)
 {  {
     object *tmp;      object *tmp;
     int flags, got_one=0, anim_speed,len;      int flags, got_one=0, anim_speed;
     SockList sl;      SockList sl;
     char *buf, item_n[MAX_BUF];      char item_n[MAX_BUF];
          
     sl.buf=malloc(MAXSOCKBUF);      sl.buf=malloc(MAXSOCKBUF);
   
Line 322
 
Line 321
 void esrv_update_item(int flags, object *pl, object *op)  void esrv_update_item(int flags, object *pl, object *op)
 {  {
     SockList sl;      SockList sl;
     char *buf;  
   
     /* If we have a request to send the player item, skip a few checks. */      /* If we have a request to send the player item, skip a few checks. */
     if (op!=pl) {      if (op!=pl) {
Line 405
 
Line 403
   
 void esrv_send_item(object *pl, object*op)  void esrv_send_item(object *pl, object*op)
 {  {
     int anim_speed,len;      int anim_speed;
     SockList sl;      SockList sl;
     char *buf, item_n[MAX_BUF];      char item_n[MAX_BUF];
          
     /* If this is not the player object, do some more checks */      /* If this is not the player object, do some more checks */
     if (op!=pl) {      if (op!=pl) {


Legend:
line(s) removed in v.1.8 
line(s) changed
 line(s) added in v.1.9

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