Difference for common/button.c from version 1.27 to 1.28


version 1.27 version 1.28
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_button_c =   * static char *rcsid_button_c =
  *   "$Id: button.c,v 1.27 2005/09/03 20:42:01 tchize Exp $";   *   "$Id: button.c,v 1.28 2005/09/13 06:46:35 mwedel Exp $";
  */   */
   
 /*  /*
Line 596
 
Line 596
  if(QUERY_FLAG(tmp, FLAG_FRIENDLY)) {    if(QUERY_FLAG(tmp, FLAG_FRIENDLY)) {
  CLEAR_FLAG(tmp, FLAG_FRIENDLY);   CLEAR_FLAG(tmp, FLAG_FRIENDLY);
  remove_friendly_object(tmp);   remove_friendly_object(tmp);
  tmp->move_type = 0;   tmp->attack_movement = 0;
  /* lots of checks here, but want to make sure we don't   /* lots of checks here, but want to make sure we don't
  * dereference a null value   * dereference a null value
  */   */
Line 636
 
Line 636
  tmp->stats.exp = 0;   tmp->stats.exp = 0;
  SET_FLAG(tmp, FLAG_FRIENDLY);   SET_FLAG(tmp, FLAG_FRIENDLY);
                 add_friendly_object (tmp);                  add_friendly_object (tmp);
  tmp->move_type = PETMOVE;   tmp->attack_movement = PETMOVE;
  break;    break;
   
    default:     default:


Legend:
line(s) removed in v.1.27 
line(s) changed
 line(s) added in v.1.28

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