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

From: anthony benjamin (benjamin@powerweb.net)
Date: 02/23/99


I recently added a new room flag to rooms called NO_WIELD....
I defined it in the structs.h file..

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


that is what I declared in the structs.h file and I also increased the
number of room flags in olc.h to 16.

#define NUM_ROOM_FLAGS   16

just like that. But when I recompile the mud, and run it. I try to make
a new room, instead on my Oasis OLC menu I get...

<snipped>
13) HCRSH                14) ATRIUM
15) OLC                  16) * <- That is where new flag should be
right??

Who has the obvious answer eluding me?

any help as always is appreciaited...

anthony - newbie coder


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