Difference for common/object.c from version 1.44 to 1.45


version 1.44 version 1.45
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: object.c,v 1.44 2001/11/21 18:12:25 avogl Exp $";   *   "$Id: object.c,v 1.45 2001/11/26 17:52:25 michtoen Exp $";
  */   */
   
 /*  /*
Line 1769
 
Line 1769
 #endif  #endif
   
     tag = op->count;      tag = op->count;
       for(tmp=GET_MAP_OB(op->map, op->x, op->y);tmp!=NULL;tmp=tmp->above) {
     /* The objects have to be checked from top to bottom.  
      * Hence, we first go to the top: */  
     for (tmp=GET_MAP_OB(op->map, op->x, op->y); tmp!=NULL &&  
  tmp->above!=NULL; tmp=tmp->above);  
       
     for(;tmp!=NULL; tmp=tmp->below) {  
  if (tmp == op) continue;    /* Can't apply yourself */   if (tmp == op) continue;    /* Can't apply yourself */
   
  /* Trim the search when we find the first other spell effect    /* Trim the search when we find the first other spell effect


Legend:
line(s) removed in v.1.44 
line(s) changed
 line(s) added in v.1.45

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