Difference for common/object.c from version 1.46 to 1.47


version 1.46 version 1.47
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: object.c,v 1.46 2001/11/27 04:33:46 michtoen Exp $";   *   "$Id: object.c,v 1.47 2001/11/27 06:08:25 michtoen Exp $";
  */   */
   
 /*  /*
Line 1773
 
Line 1773
   
 #if 0  #if 0
      */       */
   
 #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
Line 2141
 
Line 2148
 }  }
   
 /*** end of object.c ***/  /*** end of object.c ***/
   


Legend:
line(s) removed in v.1.46 
line(s) changed
 line(s) added in v.1.47

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