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

Comparing deliantra/server/common/readable.C (file contents):
Revision 1.35 by root, Sun Aug 31 05:47:14 2008 UTC vs.
Revision 1.36 by root, Mon Sep 29 09:04:50 2008 UTC

1020 /* alter book properties */ 1020 /* alter book properties */
1021 if (object *tmpbook = get_archetype (t->archname)) 1021 if (object *tmpbook = get_archetype (t->archname))
1022 { 1022 {
1023 tmpbook->msg = book->msg; 1023 tmpbook->msg = book->msg;
1024 tmpbook->copy_to (book); 1024 tmpbook->copy_to (book);
1025 tmpbook->destroy (); 1025 tmpbook->destroy (true);
1026 } 1026 }
1027 1027
1028 book->title = t->authour; 1028 book->title = t->authour;
1029 book->name = t->name; 1029 book->name = t->name;
1030 book->level = t->level; 1030 book->level = t->level;
1393 add_abilities (tmp, art->item); 1393 add_abilities (tmp, art->item);
1394 tmp->type = type; 1394 tmp->type = type;
1395 SET_FLAG (tmp, FLAG_IDENTIFIED); 1395 SET_FLAG (tmp, FLAG_IDENTIFIED);
1396 if ((ch = describe_item (tmp, NULL)) != NULL && strlen (ch) > 1) 1396 if ((ch = describe_item (tmp, NULL)) != NULL && strlen (ch) > 1)
1397 sprintf (buf, "%s Properties of this artifact include: \n %s \n", buf, ch); 1397 sprintf (buf, "%s Properties of this artifact include: \n %s \n", buf, ch);
1398 tmp->destroy (); 1398 tmp->destroy (true);
1399 /* add the buf if it will fit */ 1399 /* add the buf if it will fit */
1400 if (!book_overflow (retbuf, buf, booksize)) 1400 if (!book_overflow (retbuf, buf, booksize))
1401 strcat (retbuf, buf); 1401 strcat (retbuf, buf);
1402 else 1402 else
1403 break; 1403 break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines