Difference for common/button.c from version 1.20 to 1.21


version 1.20 version 1.21
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_button_c =   * static char *rcsid_button_c =
  *   "$Id: button.c,v 1.20 2003/01/17 04:38:35 garbled Exp $";   *   "$Id: button.c,v 1.21 2003/09/13 05:01:26 mwedel Exp $";
  */   */
   
 /*  /*
Line 593
 
Line 593
  * dereference a null value   * dereference a null value
  */   */
  if (tmp->type == GOLEM && tmp->owner && tmp->owner->type==PLAYER &&   if (tmp->type == GOLEM && tmp->owner && tmp->owner->type==PLAYER &&
      tmp->owner->contr->golem==tmp)       tmp->owner->contr->ranges[range_golem]==tmp) {
  tmp->owner->contr->golem=NULL;   tmp->owner->contr->ranges[range_golem]=NULL;
    tmp->owner->contr->golem_count = 0;
    }
  tmp->owner = 0;   tmp->owner = 0;
  }   }
  break;   break;


Legend:
line(s) removed in v.1.20 
line(s) changed
 line(s) added in v.1.21

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