On Thu, 20 May 1999, Mark Vanness Jr. wrote:
>Using OasisOLC 2.0pre9 I encountered a wierd bug?
>I created a ROOM_FLAG called ROOM_IMPROOM.
>It shows up in redit just fine, however when I try to
>assign it to the room, it won't assign.
>
>I have 18 room flags, all but this one works.
Does this happen to be the last room flag?
If so, does this help?
diff -up OasisOLCv2.0-pre9/redit.c OasisOLCv2.0/redit.c
--- OasisOLCv2.0-pre9/redit.c Thu May 13 22:00:49 1999
+++ OasisOLCv2.0/redit.c Thu May 20 20:15:00 1999
@@ -527,7 +527,7 @@ void redit_parse(struct descriptor_data
case REDIT_FLAGS:
number = atoi(arg);
- if (number < 0 || number >= NUM_ROOM_FLAGS) {
+ if (number < 0 || number > NUM_ROOM_FLAGS) {
SEND_TO_Q("That is not a valid choice!\r\n", d);
redit_disp_flag_menu(d);
} else if (number == 0)
Wonder how that got changed... I was probably looking at NUM_ROOM_SECTORS
just below it at the time.
--
George Greer | Shirak's CircleMUD for Windows help
greerga@circlemud.org | http://www.connect.ab.ca/~rbmstrk/
+------------------------------------------------------------+
| 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