Difference for socket/item.c from version 1.14 to 1.14.2.1


version 1.14 version 1.14.2.1
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *    "$Id: item.c,v 1.14 2001/05/02 07:26:51 mwedel Exp $";   *    "$Id: item.c,v 1.14.2.1 2001/05/23 04:27:53 mwedel Exp $";
  */   */
   
 /*  /*
Line 649
 
Line 649
     int flag=0;      int flag=0;
   
     if (out_of_map(op->map, op->x+dx, op->y+dy)) return;      if (out_of_map(op->map, op->x+dx, op->y+dy)) return;
   #if 0
     /* put player back on top */      /* put player back on top */
     if(op->above!=NULL) {      if(op->above!=NULL) {
  SET_FLAG (op, FLAG_NO_APPLY);   SET_FLAG (op, FLAG_NO_APPLY);
Line 662
 
Line 663
      tmp=tmp->above);       tmp=tmp->above);
     else      else
  tmp=op->below;   tmp=op->below;
   #else
       for(tmp=get_map_ob(op->map,op->x+dx,op->y+dy);tmp!=NULL&&tmp->above!=NULL;
        tmp=tmp->above);
   #endif
     for ( ; tmp != NULL; tmp=tmp->below ) {      for ( ; tmp != NULL; tmp=tmp->below ) {
  if (tmp->invisible && !QUERY_FLAG(op, FLAG_WIZ)) continue;   if (tmp->invisible && !QUERY_FLAG(op, FLAG_WIZ)) continue;
   


Legend:
line(s) removed in v.1.14 
line(s) changed
 line(s) added in v.1.14.2.1

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:35