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


version 1.43 version 1.44
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: object.c,v 1.43 2001/11/06 03:39:31 mwedel Exp $";   *   "$Id: object.c,v 1.44 2001/11/21 18:12:25 avogl 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.43 
line(s) changed
 line(s) added in v.1.44

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