Re: [NEWBIE] a small question

From: Stephen Wolfe (siv@CYBERENET.NET)
Date: 06/13/98


> shinra.c:1504: `d' undeclared (first use in this function)
> shinra.c:1504: (Each undeclared identifier is reported only once
> shinra.c:1504: for each function it appears in.)

'd' would be refering to a variable of type 'struct descriptor_data *',
but (based on code you posted earlier that i barely glanced at) you
probably just want to make it: PLR_FLAGGED(ch, PLR_MUTANT); no 'd'
required..and a quick lesson, descriptor_data is the struct that deals
with connection type data (and is usually named 'd' in the context of
individual descriptors)..this contains a pointer to the character struct
for that connection (d->character)..in addition that character struct has
a pointer to the descriptor (ch->desc)..

siv

"Because without war, history class would have been totally fucking boring."
        The Scorched Earth Party -


     +------------------------------------------------------------+
     | 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/15/00 PST