Hi all...ok, i just recently tried to add races to my mud (from
the file "races" in the snippets that someone recently attached
to an email and sent to the mailing list). I followed everything
correctly, but when i compile i get these errors:
class.c: In function "roll_real_abils':
class.c:299: duplicate case value
class.c:293: this is the first entry for that value
class.c:303: duplicate case value
class.c:293: this is the first entry for that value
make[1]: *** [class.o] Error 1
make[1]: Leaving directory '/home/circle/circle30bpl11/src
make: *** [default] Error 2
Now, I know this prolly stems from one single problem, but i can't
seem to find it, i double checked the snippet i was adding, still no luck
here's the code for class.c line 290 thru line 305
switch (GET_RACE)ch__ {
case RACE_HUMAN:
break;
case RACE_ELF:
ch->real_abils.dex +=1;
ch->real_abils.intel +=1;
ch->real_abils.str -=1;
ch->real_abils.con -=1;
case RACE_GNOME:
ch->real_abils.intel +=1;
ch->real_abils.wis -=1;
break;
case RACE_DWARF:
ch->real_abils.con +=1;
ch->real_abils.dex +=1;
ch->real_abils.intel +=1;
ch->real_abils.cha -=1;
break;
default:
break;
}
this is prolly a -real- stupid question but not one i can figure out
thanks in advance!!!
******************************************************
||||\ /|||| ||||----\ [M]atthew [P]etty
|||| \ / |||| |||| \
|||| \/ |||| ||||_____/ Email: mcp@draper.net
|||| |||| ||||
|||| |||| {} |||| {}
******************************************************
+-----------------------------------------------------------+
| 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