On Mon, 22 Dec 1997, Andrey Fidrya wrote: > 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 Hi Andrey, Good eye. There's really no reason to call stop_fighting(ch) again. I'll remove it from my do_flee routine as well. Thanks. :) - jeremy +------------------------------------------------------------+ | 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