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.61 by root, Sat Apr 23 04:56:46 2011 UTC vs.
Revision 1.62 by root, Sun May 1 16:58:15 2011 UTC

955 */ 955 */
956 956
957 if ((strlen (book->msg) > 5) && (t = find_title (book, msgtype))) 957 if ((strlen (book->msg) > 5) && (t = find_title (book, msgtype)))
958 { 958 {
959 /* alter book properties */ 959 /* alter book properties */
960 if (object *tmpbook = get_archetype (t->archname)) 960 if (object *tmpbook = archetype::get (t->archname))
961 { 961 {
962 tmpbook->msg = book->msg; 962 tmpbook->msg = book->msg;
963 tmpbook->copy_to (book); 963 tmpbook->copy_to (book);
964 tmpbook->destroy (); 964 tmpbook->destroy ();
965 } 965 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines