Difference for socket/item.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *    "$Id: item.c,v 1.3 2000/05/24 05:48:51 cvs Exp $";   *    "$Id: item.c,v 1.4 2000/05/26 09:50:53 jec Exp $";
  */   */
   
 /*  /*
Line 477
 
Line 477
    pl->ob->name, tag);     pl->ob->name, tag);
  return;   return;
     }      }
     apply (pl->ob, op,0);      player_apply (pl->ob, op, 0, 0);
 }  }
   
 /* Client wants to apply some object.  Lets do so. */  /* Client wants to apply some object.  Lets do so. */
Line 531
 
Line 531
   
   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(op->above!=NULL) {    if(op->above!=NULL) {
       SET_FLAG (op, FLAG_NO_APPLY);
     remove_ob(op);      remove_ob(op);
     insert_ob_in_map(op,op->map);      insert_ob_in_map(op,op->map,NULL);
       CLEAR_FLAG (op, FLAG_NO_APPLY);
   }    }
   if(dx||dy)     if(dx||dy)
     for(tmp=get_map_ob(op->map,op->x+dx,op->y+dy);tmp!=NULL&&tmp->above!=NULL;      for(tmp=get_map_ob(op->map,op->x+dx,op->y+dy);tmp!=NULL&&tmp->above!=NULL;


Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4

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