Re: [CODE] Restring

From: George (greerga@circlemud.org)
Date: 03/05/99


On Fri, 5 Mar 1999, Christoffer Lundberg wrote:

>object.name = str_dup(obj->name);
>object.short_desc = str_dup(obj->short_description);
>object.long_desc = str_dup(obj->description);

Pointers don't save to disk very well since the data they point to doesn't
exist next time you load the file.

--
George Greer
greerga@circlemud.org
http://mouse.van.m-l.org/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST