Re: [CODE] Sleeping Mobs In Spec_Procs

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


On Sat, 18 Oct 1997, RHS Linux User wrote:

>Why don't sleeping creatures execute special procedures?

mobact.c:mobile_activity()

  for (ch = character_list; ch; ch = next_ch) {
    next_ch = ch->next;

    if (!IS_MOB(ch) || FIGHTING(ch) || !AWAKE(ch))      <- This line.
      continue;

    /* Examine call for special procedure */

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