Shay wrote: > > Ok, heres the problem, using raceclass, i have the following code implemented: > > In Interpreter.c I have: > <snip> > And In class.c I Have: > > #define Y TRUE > #define N FALSE > int class_ok_race[NUM_RACES][NUM_CLASSES] = { > /* M, C, T, W */ > /* Human */ { Y, Y, Y, Y }, > /* Elf */ { Y, Y, Y, N }, > /* Gnome */ { Y, Y, N, Y }, > /* Dwarf */ { N, Y, N, Y }, > /* Vamp */ { Y, N, N, Y } > }; How is class_ok_race defined in interpreter.c? you need to have an "extern class_ok_race[][];" either in interpreter.c or in one of the header files #included in interpreter.c. Regards, Peter +------------------------------------------------------------+ | 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 : 04/10/01 PDT