Re: top_of_zone_table?

From: George Greer (greerga@circlemud.org)
Date: 10/05/02


On Sat, 5 Oct 2002, Sam Moggach wrote:

>top_of_zone_table  lies! it says there are (n) zones in teh mud when really
>there are (n-1) zones. so when counter = top_of_zone_table, it is trying to
>access a zone that does not exist.

Wrong. You'll find loops like:

    for (i = 0; i <= top_of_zone_table; i++)
      reset_zone(i);

at least as far back as bpl9 (where that's from).

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT