> Well, as I found out the hard way, this code won't ever be called. When > the violence loop is entered, if the code attempts to call the hit > procedure on a victim who is already dead, the system crashes. Shouldn't > then the afformentioned code exist somewhere much earlier? Perhaps in the > violence procedure itself? I'm not too sure, maybe this code does catch > something, but my debugging certainly would have been easier if that > syserr had actaully appeared in my syslog. fighting isn't the only thing that calls damage..it's called by characters that are poisoned or whatever, and by skills (they call damage directly)..they don't all check for death before doing the damage call, so that check is required.. siv +------------------------------------------------------------+ | 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