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

From: Xual (xual@satanspawn.ml.org)
Date: 02/23/99


On Tue, 23 Feb 1999, anthony benjamin wrote:

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

grep -n ATRIUM *.c

constants.c
I'ts getting tempting to throw a RTFC in here...

"Misery is boundless"
        -Xual the Torturer, on the Eve of the Sundering.

Danathara Online RPG
telnet://danathara.dhs.org:4000


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