Object Structure

From: Wesley Fonvergne (tadrith@GATEKEEP.NET)
Date: 02/10/98


        Okay, I recently added yet even more to my object structure,
allowing for spells on items, and material type. For the material type, I
duplicated the code for type_flag, since they are the same type of setup. I
defined everything the same, I added the variable to utils.h, modified db.c
to accomodate the changes, and modifier OLC. The OLC menu is simply the type
menu, except that I changed the names, and stuff. The only thing I did
different was add a buf3 and buf4 to db.h, because I needed 2 more buffers
for sprintbit. Everything compiles fine. The only problem is that under the
OLC menu, it doesn't select properly. 1 is supposedly cloth, and 2
undefined, but instead 2 is cloth, and so on. Sometimes selecting something
like 11 sets 2 bits, like "Undefined Cloth". I've been poring over the code,
and I can't see anything wrong...anyone have any ideas what I could have
screwed up? It's probably an RTFC question, I think... :)
[ Tadrith Skandrakae, Implementor of Dreamscape ]
[     - telnet://mud.dreamscape.org:1234/ -     ]
["I lay my dreams before your feet;             ]
[    tread softly, for you tread on my dreams.  ]


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