Re: [Circle][CODE] Race Class Problem Im Having

From: George Greer (greerga@circlemud.org)
Date: 07/24/00


On Sun, 23 Jul 2000, Shay wrote:

>This is the code i got from the ftp site, atleast part of it, for doing
>race-classes. The problem is the GET_RACES(ch), where ch is unidentified.
>Ive tried to sort this out with d->character, but thats not quite right.

Given:

struct char_data *ch;
struct descriptor_data *d;

It holds:

d = ch->desc;
ch = d->character;
d = d->character->desc;
ch = ch->desc->character;
d = ch->desc->character->desc;
ch = d->character->desc->character;

...etc...

(Given related descriptor and character, of course.)

--
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 : 04/10/01 PDT