version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* 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 $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
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); |
| | |
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) && |
| | |
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); |
| | |
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) && |
| | |
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: |