Difference for common/item.c from version 1.28 to 1.29


version 1.28 version 1.29
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *   "$Id: item.c,v 1.28 2002/10/04 05:59:28 mwedel Exp $";   *   "$Id: item.c,v 1.29 2002/11/14 01:03:59 garbled Exp $";
  */   */
   
 /*  /*
Line 432
 
Line 432
       case SKILL:        case SKILL:
       case AMULET:        case AMULET:
       case RING:        case RING:
 #ifdef FULL_RING_DESCRIPTION  
  if (!op->title) {   if (!op->title) {
      /* If ring has a title, full description isn't so useful */        /* If ring has a title, full description isn't so useful */
      char *s = ring_desc(op);       char *s = ring_desc(op);
Line 441
 
Line 440
  safe_strcat(buf, s, &len, HUGE_BUF);   safe_strcat(buf, s, &len, HUGE_BUF);
      }       }
  }   }
 #endif  
  break;   break;
       default:        default:
  if(op->magic && ((QUERY_FLAG(op,FLAG_BEEN_APPLIED) &&    if(op->magic && ((QUERY_FLAG(op,FLAG_BEEN_APPLIED) &&
Line 594
 
Line 592
       case SKILL:        case SKILL:
       case AMULET:        case AMULET:
       case RING:        case RING:
 #ifdef FULL_RING_DESCRIPTION  
  if (!op->title) {   if (!op->title) {
      /* If ring has a title, full description isn't so useful */        /* If ring has a title, full description isn't so useful */
      char *s = ring_desc(op);       char *s = ring_desc(op);
Line 603
 
Line 600
  safe_strcat (buf, s, &len, MAX_BUF);   safe_strcat (buf, s, &len, MAX_BUF);
      }       }
  }   }
 #endif  
  break;   break;
       default:        default:
  if(op->magic && ((QUERY_FLAG(op,FLAG_BEEN_APPLIED) &&    if(op->magic && ((QUERY_FLAG(op,FLAG_BEEN_APPLIED) &&
Line 847
 
Line 843
  case SKILL:   case SKILL:
  case RING:   case RING:
  case AMULET:   case AMULET:
 #ifdef FULL_RING_DESCRIPTION  
      if (op->title)       if (op->title)
  strcat (retbuf, ring_desc(op));   strcat (retbuf, ring_desc(op));
 #else  
      strcat (retbuf, ring_desc(op));  
 #endif  
      return retbuf;       return retbuf;
   
  default:   default:


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

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