Quote ------> <stuff about the "look at all mobs/chars" loop snipped So you are using the damage() call, which cna extract the char if it dies. I would put in a quick if (!ch) return; <------ QUOTE NO!!!! not return... be very careful here wether you use continue; skip to the end of the loop and go to the next entry break; leave the loop but fnish the func return; leave the func and don't look at any more peoples. --Angus +------------------------------------------------------------+ | 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/08/00 PST