can some one explain what is wrong with this code???
*buf = '\0';
/*. Add the clan title to the title between []. Think about no
allowing
brakets in titles to prevent simulating clan titles .*/
(this is the line i get errors)
--> if
((clan_num=find_clan_by_id(GET_CLAN(tch)))>=0&&clan_num<num_of_clans) {
if(GET_CLAN_RANK(tch)>0)
sprintf(buf, "%s [%s of %s]", buf,
clan[clan_num].rank_name[GET_CLAN_RANK(tch) -1],
clan[clan_num].name);
else
sprintf(buf, "%s [Applying to %s]", buf, clan[clan_num].name);
}
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
| Or send 'info circle' to majordomo@cspo.queensu.ca |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST