Difference for server/skills.c from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.29 2002/08/26 07:14:11 mwedel Exp $";   *   "$Id: skills.c,v 1.30 2002/09/28 07:19:40 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 143
 
Line 143
      if (op->type == PLAYER)       if (op->type == PLAYER)
  esrv_del_item(op->contr, tmp->count);   esrv_del_item(op->contr, tmp->count);
      pick_up(who, tmp);       pick_up(who, tmp);
      if(can_pick(who,tmp)) {       /* need to see if the player actually stole this item -
         * if it is in the players inv, assume it is.  This prevents
         * abuses where the player can not carry the item, so just
         * keeps stealing it over and over.
         */
        if (who == is_player_inv(tmp)) {
  /* for players, play_sound: steals item */   /* for players, play_sound: steals item */
  success = tmp;   success = tmp;
  CLEAR_FLAG(tmp, FLAG_INV_LOCKED);   CLEAR_FLAG(tmp, FLAG_INV_LOCKED);


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

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