Re: Timing bugs - fleeing

From: Andrey Fidrya (andrey@ALEX-UA.COM)
Date: 12/22/97


Thanks for a fix!
I have a question about this part of code:

>       if (do_simple_move(ch, attempt, TRUE)) {

do_simple_move calls char_from_room.
char_from_room calls stop_fighting(ch).

>           if (FIGHTING(vict) == ch)
>              stop_fighting(vict);
>           stop_fighting(ch);

Why we call stop_fighting(ch) again?
Can it be safely removed?

  Andrey (andrey@alex-ua.com)
    aka Zmey//RMUD


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