Re: [NEWBIE][CODE]

From: George (greerga@CIRCLEMUD.ORG)
Date: 02/11/98


On Wed, 11 Feb 1998, Bill Merrill wrote:

>Line:1075      if (class_ok_race[(int)GET_RACE(ch)][x])
>                  send_to_char(class_display[x], d->character);
>                  send_to_char("\nClass: ", d->character);
>                }

There isn't a 'ch' variable in this function, but 'd->character' is the
same thing, via the descriptor.

if (ch->desc == d) then (d->character == ch)

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