Re: Prompts every tick

From: Daniel W. Burke (dwb@IX.NETCOM.COM)
Date: 08/03/97


On Sun, 3 Aug 1997, Ray Campbell wrote:

> Daniel W. Burke wrote:
>
> >       for (d = descriptor_list; d; d = d->next) {
> >          d->prompt_mode = 1;
> >       }
> >
>    Where exactly would you place tis code, I tried in game_loop and that
> just spams me with prompts constantly
> Tahnks,

Place it in the spot ticks are updated.  I don't have a copy of stock
circle  hand to look for the exact line of code, but place it in the same
if block where affect_update() and point_update() is called.


Brazil - Implementor of AddictMUD
         addict.realms.org  4000
         206.185.32.8       4000


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