Difference for server/pets.c from version 1.35 to 1.36


version 1.35 version 1.36
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_pets_c =   * static char *rcsid_pets_c =
  *    "$Id: pets.c,v 1.35 2005/09/13 06:46:35 mwedel Exp $";   *    "$Id: pets.c,v 1.36 2005/09/24 09:49:49 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 992
 
Line 992
  if (target->type != PLAYER) {   if (target->type != PLAYER) {
  /* if the target is owned by a player make sure than make sure   /* if the target is owned by a player make sure than make sure
  it's not in the same party */   it's not in the same party */
  if ((towner->type == PLAYER) && (rowner->contr->party_number > 0)) {   if ((towner->type == PLAYER) && (rowner->contr->party != NULL)) {
  if (rowner->contr->party_number == towner->contr->party_number) return 0;   if (rowner->contr->party == towner->contr->party) return 0;
  }   }
  } else {   } else {
  /* if the target is a player make sure than make sure it's not   /* if the target is a player make sure than make sure it's not
  in the same party */   in the same party */
  if (rowner->contr->party_number > 0){   if (rowner->contr->party != NULL){
  if (rowner->contr->party_number == target->contr->party_number) return 0;   if (rowner->contr->party == target->contr->party) return 0;
  }   }
  }   }
    


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

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