Re: Mob fleeing

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 10/28/97


On Tue, 28 Oct 1997, Angus Mezick wrote:

>#define CHECK_WAIT(ch)  ((!IS_NPC(ch))? \
>                           (((ch)->desc) ? ((ch)->desc->wait > 1) : 0 ):\
>                           (GET_MOB_WAIT(ch)>0))
>
>I know it looks nasty and icky, but do you see anything wrong but a bad code
>style?

I think it's glossing over the real problem at hand.  There shouldn't be
two versions of the same variable for mobs and pcs.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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