I changed my ch's to d->character's, but it stops at the same place. Roundtime is a member of player (char_data), I think...anyone know what I'm doing wrong? I need it to work with a command that uses char_data, so this is the only thing I can do. Can't move it to another struct, or the command won't work, see? void update_roundtime(void) { struct descriptor_data *d, *next_d; log("For statement"); for (d = descriptor_list; d; d = next_d) { log("Next_d = d->next"); next_d = d->next; log("Checking to make sure RT >= 0."); if (GET_RT(d->character) < 0) GET_RT(d->character) = 0; <=crashes here. log("Subracting 1 from RT"); if (GET_RT(d->character) > 0) GET_RT(d->character) -= 1; log("Done."); } } Help would be much appreciated. Thanks all. :-) Thanks, -Elrelet +------------------------------------------------------------+ | 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