--- deliantra/server/common/readable.C 2006/09/13 23:39:27 1.7 +++ deliantra/server/common/readable.C 2006/09/29 21:55:54 1.10 @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - The authors can be reached via e-mail at crossfire-devel@real-time.com + The authors can be reached via e-mail at */ @@ -1613,7 +1613,7 @@ /* preamble */ sprintf (retbuf, "Herein is described a project using %s: \n", formula->skill ? &formula->skill : "an unknown skill"); - if ((at = find_archetype (op_name)) != (archetype *) NULL) + if ((at = archetype::find (op_name)) != (archetype *) NULL) op_name = at->clone.name; else LOG (llevError, "formula_msg() can't find arch %s for formula.\n", op_name); @@ -1652,7 +1652,7 @@ linked_char *next; archetype *at; - at = find_archetype (formula->cauldron); + at = archetype::find (formula->cauldron); sprintf (retbuf + strlen (retbuf), " may be made at %s using the following ingredients:\n", at ? query_name (&at->clone) : "an unknown place"); @@ -1980,6 +1980,7 @@ } strcat (msgbuf, "\n"); /* safety -- we get ugly map saves/crashes w/o this */ + if (strlen (msgbuf) > 1) { book->msg = msgbuf; @@ -2018,11 +2019,13 @@ delete tlist; } + for (lmsg = first_msg; lmsg; lmsg = nextmsg) { nextmsg = lmsg->next; delete lmsg; } + for (monlink = first_mon_info; monlink; monlink = nextmon) { nextmon = monlink->next;