Re: coding problem with a character creation addition (mem leak?)

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 09/16/97


On Tue, 16 Sep 1997, Sorren@usa.net wrote:

>struct current_table {
>        bool magic; /* 0 not set 1 no magic 2 magic */
>        bool race; /* 0 not set, 2 metahuman 1 human */
>};

Bool = 1 or 0, not 0 or 1 or 2 or 3 or 4 or 5 or such.
You mean byte perhaps?

(In CircleMUD bool == byte but you'll hit problems later.)

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