I know this is probably a really simple problem. I am trying to add races to my source and I get these two errors: C:\Windows\Desktop\Circle2\TestCircle\circle30bpl12\src\class.c(547) : error C2146: syntax error : missing ')' before identifier '$$' C:\Windows\Desktop\Circle2\TestCircle\circle30bpl12\src\class.c(552) : error C2181: illegal else without matching if This is the code that it says the error is in: int invalid_race (struct char_data *ch, struct obj_data *obj) { if ((IS_OBJ_STAT(obj, ITEM_ANTI_HUMAN) && IS_HUMAN(ch)) || (IS_OBJ_STAT(obj, ITEM_ANTI_ELF) && IS_ELF(ch)) || (IS_OBJ_STAT(obj, ITEM_ANTI_GNOME) && IS_GNOME(ch)) || (IS_OBJ_STAT(obj, ITEM_ANTI_FAERIE) && IS_FAERIE(ch))) return 1; else return 0; I've stared at it for awhile and I don't see the problem....it looks exactly like the same commands for classes as far as I can tell. -Casandra +------------------------------------------------------------+ | 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