Heya all, I know that I am just having a brain fart here, but any help that you all might provide at this point would be greatly appreciated. I added the OasisOLC code and I assume because I have races or added level or the NEast, NWest, SWest and SEast directions, there is something the code doesn't like. I have gone over it a lot and just can't seem to find it so I am asking for your help. Here is the error and the section of code that it is pointing to. olc.c olc.c(294) : warning C4028: formal parameter 2 different from declaration olc.c(311) : warning C4028: formal parameter 2 different from declaration /*------------------------------------------------------------*\ Exported utlities \*------------------------------------------------------------*/ /*. Add an entry to the 'to be saved' list .*/ void olc_add_to_save_list(int zone, byte type) /* Line 294 */ { struct olc_save_info *new; /*. Return if it's already in the list .*/ for(new = olc_save_list; new; new = new->next) if ((new->zone == zone) && (new->type == type)) return; CREATE(new, struct olc_save_info, 1); new->zone = zone; new->type = type; new->next = olc_save_list; olc_save_list = new; } /*. Remove an entry from the 'to be saved' list .*/ void olc_remove_from_save_list(int zone, byte type) /* Line 311 */ { struct olc_save_info **entry; struct olc_save_info *temp; for(entry = &olc_save_list; *entry; entry = &(*entry)->next) if (((*entry)->zone == zone) && ((*entry)->type == type)) { temp = *entry; *entry = temp->next; free(temp); return; } Thanks for all your help! =Dave / Spectre +-----------------------------------------------------------+ | 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