Hello, I've added races to my system and for some reason, instead of assinging the person one of the four races I've put in place, it sets their race to the race_menu. I've tried several different methods to try and remedy this and I get the same results each time. The following is my parse_race function. int parse_race(struct descriptor_data * ch, int arg) { switch (arg) { case 1: ch->character->player.race = RACE_NEIRO; return RACE_NEIRO; break; case 2: ch->character->player.race = RACE_KLIEST; return RACE_KLIEST; break; case 3: ch->character->player.race = RACE_LEIRYS; return RACE_LEIRYS; break; case 4: ch->character->player.race = RACE_DRAEDA; return RACE_DRAEDA; break; default: return RACE_UNDEFINED; break; } } Any help would be greatly appreciated. N.S. __ __ / \\ \ http://spruce.evansville.edu/~es33/ \ // / \ \\/ 'Do not go gentle into that good night, \/ Rage, rage against the dying of the light.' +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST