Re: [code][oasis][code error][newbie] Increasing Room flags.

From: Tony Robbins (tonyr@pacific101.com)
Date: 02/23/99


>> #define ROOM_DARK  (1 << 0)   /* Dark   */
>> <snipped>
>> #define ROOM_OLC  (1 << 14)  /* (R) Modifyable/!compress */
>> #define ROOM_BFS_MARK  (1 << 15)  /* (R) breath-first srch mrk */
>> #define ROOM_NOWIELD    (1 << 16)
*snip*
>> #define NUM_ROOM_FLAGS   16
*snip*
>> 13) HCRSH                14) ATRIUM
>> 15) OLC                  16) * <- That is where new flag should be
right??
>>
>> Who has the obvious answer eluding me?

About 3 other people so far, but I'll throw in another bit.

Ok, realize that ROOM_DARK is 2^0.  So that means the count starts at 0.
Therefore, you have a total of 17 flags, not sixteen.  And make sure you do
the constants.c part.  Read your code.  I left out the F word cuz I'm a nice
guy.  Maybe.

-B.


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