Re: [?] Difference between d->character and ch

From: George Greer (greerga@circlemud.org)
Date: 06/28/99


On Mon, 28 Jun 1999, Del wrote:

>ACMD (do_edit)
>{
> struct descriptor_data *d;
>
>/* a few checks like */
>
>   if (IS_NPC(ch))
>      return;
>
>/* pull the number argument from the input */
>number = atoi(buf1);
>
>/* following along zedit */
>
>edit_setup(d, number);
>send_to_char("WE GET TO HERE FINE IF send_to_char in edit_setup IS NOT IN THE
>CODE", ch);
>
>/ * removed for testing
>STATE(d) = CON_EDIT;
>*/
>
>return;
>
>}

And 'd' is initialized where? (Try ch->desc instead if you must.)

--
George Greer
greerga@circlemud.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