char *get_name_by_id2(long id)
{
int i;
+ char temp[MAX_NAME_LENGTH];
if (id == -1)
return "";
for (i = 0; i <= top_of_p_table; i++)
! if ((player_table + i)->id == id) {
+ strcpy(temp, (player_table + i)->name);
! return (CAP(temp));
+ }
return "";
}
+------------------------------------------------------------+
| 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