Re: [CODE]The Mayor special

From: George Greer (greerga@circlemud.org)
Date: 06/10/99


On Tue, 8 Jun 1999, Axiem wrote:

>In specprocs.c, around line 309, the stock code has:
>
>  if (!move) {
>    if (time_info.hours == 6) {
>      move = TRUE;
>      path = open_path;
>      index = 0;
>    } else if (time_info.hours == 20) {
>      move = TRUE;
>      path = close_path;
>      index = 0;
>    }
>  }

We could move two lines out (since 'path' is reset) but I'd favor rewriting
most of the special procedures for clarity rather than band-aids like the
above.

--
George Greer            | The OasisOLC Maintenance Effort
greerga@circlemud.org   | http://developer.circlemud.org/OasisOLC/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST