Re: [CODE] [NEWBIE] ACMD's

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/21/97


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.
>3) made a call to redit_save_to_disk(OLC_ZNUM(d)); at the end of dig/copyto.

OLC_ZNUM referenced d->olc->zone_num.  The d->olc structure doesn't exist
until do_olc is called.

I think you want GET_OLC_ZONE() anyway.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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