ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/item.C
(Generate patch)

Comparing deliantra/server/common/item.C (file contents):
Revision 1.4 by root, Sun Sep 10 16:00:23 2006 UTC vs.
Revision 1.5 by root, Tue Sep 12 18:15:34 2006 UTC

1 1
2/* 2/*
3 * static char *rcsid_item_c = 3 * static char *rcsid_item_c =
4 * "$Id: item.C,v 1.4 2006/09/10 16:00:23 root Exp $"; 4 * "$Id: item.C,v 1.5 2006/09/12 18:15:34 root Exp $";
5 */ 5 */
6 6
7/* 7/*
8 CrossFire, A Multiplayer game for X-windows 8 CrossFire, A Multiplayer game for X-windows
9 9
597 char buf2[HUGE_BUF]; 597 char buf2[HUGE_BUF];
598 int len = 0; 598 int len = 0;
599 599
600 if (op->name == NULL) 600 if (op->name == NULL)
601 return "(null)"; 601 return "(null)";
602
602 if (!op->nrof && !op->weight && !op->title && !is_magical (op)) 603 if (!op->nrof && !op->weight && !op->title && !is_magical (op))
603 return op->name; /* To speed things up (or make things slower?) */ 604 return op->name; /* To speed things up (or make things slower?) */
604 605
605 if (op->nrof <= 1) 606 if (op->nrof <= 1)
606 safe_strcat (buf, op->name, &len, HUGE_BUF); 607 safe_strcat (buf, op->name, &len, HUGE_BUF);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines