Re: Crash with set_fighting

From: Chris Jacobson (fear@ATHENET.NET)
Date: 02/01/98


On 2/1/98 7:14 PM, John Evans (evansj@HI-LINE.NET) stated:

>  if (FIGHTING(ch))
>    return;
>
>That way nothing harmful happens by interrupting an ongoing fight and the
>MUD doesn't get shutdown.
>
>Anyone see anything wrong with this fix?

Not really, since that check (of FIGHTING(ch)) should be made ahead of
time before set_fighting() is called anyways.  I found a lot of the
assert()s are semi-useless, but thats not to say they all are...

- Chris Jacobson


     +------------------------------------------------------------+
     | 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