Difference for socket/item.c from version 1.27 to 1.28


version 1.27 version 1.28
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *    "$Id: item.c,v 1.27 2003/12/02 18:51:44 ryo_saeba Exp $";   *    "$Id: item.c,v 1.28 2004/02/11 08:09:29 mwedel Exp $";
  */   */
   
 /*  /*
Line 696
 
Line 696
  */   */
 void look_at(object *op,int dx,int dy) {  void look_at(object *op,int dx,int dy) {
     object *tmp;      object *tmp;
     int flag=0,x,y;      int flag=0;
       sint16 x,y;
     mapstruct *m;      mapstruct *m;
   
   
Line 729
 
Line 730
  else   else
      new_draw_info_format(NDI_UNIQUE,0, op, "- %s.",query_name(tmp));       new_draw_info_format(NDI_UNIQUE,0, op, "- %s.",query_name(tmp));
   
  if((tmp->inv!=NULL || (tmp->head && tmp->head->inv)) &&    if (((tmp->inv!=NULL || (tmp->head && tmp->head->inv)) &&
      ( (!dx&&!dy) || tmp->type != CONTAINER || QUERY_FLAG(op, FLAG_WIZ)       (tmp->type != CONTAINER && tmp->type!=FLESH)) || QUERY_FLAG(op, FLAG_WIZ))
       || !(tmp->type) || tmp->type!=FLESH ))  
      inventory(op,tmp->head==NULL?tmp:tmp->head);       inventory(op,tmp->head==NULL?tmp:tmp->head);
   
  if(QUERY_FLAG(tmp, FLAG_IS_FLOOR)&&!QUERY_FLAG(op, FLAG_WIZ)) /* don't continue under the floor */   if(QUERY_FLAG(tmp, FLAG_IS_FLOOR)&&!QUERY_FLAG(op, FLAG_WIZ)) /* don't continue under the floor */


Legend:
line(s) removed in v.1.27 
line(s) changed
 line(s) added in v.1.28

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