On Sun, 21 Dec 1997, Chuck Reed wrote:
> 1) Reference it as an extern void redit_save_to_disk(int zone);
> 2) Added struct descriptor_data *d; in the begining of do_dig/do_copyto.
#2 is a mistake. (See below)
> 3) made a call to redit_save_to_disk(OLC_ZNUM(d)); at the end of dig/copyto.
>
> Now, this compiles fine, but crashes when I try to dig somewhere. I
> currently don't get core files for some strange reason, but I think it
> crashes because *d doesn't have the right info in it (as it does in
> redit.c). Just wondering if anyone knew a solution to this problem.
The character's data structure already has a descriptor in it.
Use ch->desc instead of d for passing the proper descriptor.
John Evans <evansj@hi-line.net>
http://www.hi-line.net/~evansj/
E Pluribus Unix
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST