Difference for server/c_object.c from version 1.57 to 1.58


version 1.57 version 1.58
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_object_c =   * static char *rcsid_c_object_c =
  *   "$Id: c_object.c,v 1.57 2004/04/26 05:07:52 mwedel Exp $";   *   "$Id: c_object.c,v 1.58 2004/06/13 17:30:38 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 631
 
Line 631
   
     esrv_send_item (pl, tmp);      esrv_send_item (pl, tmp);
     /* These are needed to update the weight for the container we      /* These are needed to update the weight for the container we
      * are putting the object in, and the players weight, if different.       * are putting the object in.
      */       */
       if (op!=pl) {
     esrv_update_item (UPD_WEIGHT, pl, op);      esrv_update_item (UPD_WEIGHT, pl, op);
     if (op!=pl) esrv_send_item (pl, pl);   esrv_send_item (pl, pl);
       }
   
     /* Update the container the object was in */      /* Update the container the object was in */
     if (env && env!=pl && env!=op) esrv_update_item (UPD_WEIGHT, pl, env);      if (env && env!=pl && env!=op) esrv_update_item (UPD_WEIGHT, pl, env);
Line 893
 
Line 895
  esrv_del_item (op->contr, tmp_tag);   esrv_del_item (op->contr, tmp_tag);
   
     esrv_send_item (op, tmp2);      esrv_send_item (op, tmp2);
     /* update the sacks and players weight */      /* update the sacks weight */
     esrv_update_item (UPD_WEIGHT, op, sack);      esrv_update_item (UPD_WEIGHT, op, sack);
     esrv_update_item (UPD_WEIGHT, op, op);  
 }  }
   
 /*  /*


Legend:
line(s) removed in v.1.57 
line(s) changed
 line(s) added in v.1.58

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:28