[Circle] [circle][code]SET Command

From: Dan Johnson (danpatti@dreamscape.com)
Date: 11/12/96


I seem to be having a problem.....
I added allthe races to my MUD, and coded the set command
so implementors can set races ...but it seems to be screwed up.
when I type set <player> race <race> it gives me a totaly different 
race. Now even if I type set <player> race lala or something stupid 
like that, it still will set a race..I dont know whats wrong heres what 
I type to set races:
case 49:
    if((i = parse_race(*val_arg)) == RACE_UNDEFINED) {
      send_to_char("That is not a Race.\r\n",ch);
      return;
    }
    GET_RACE(vict) = i;
    break;
I dunno...If someone can give me some insight...please do
Oh..and if your wondering...yes I set the i to =0 in the beginning,
so thats not the prob..it even messes up on first set command.

Thanks,
-VOLAR-
+-----------------------------------------------------------+
| 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