Re: [NEWBIE][CODE] question...

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


On Thu, 6 May 1999, Christopher J. Bottaro wrote:

>vznum = world[ch->in_room].number/100*100;
>vznum = world[ch->in_room].zone*100;
>
>why do these two statements yield two different answers when standing in
>room 1300?

world[].zone is the real number of the zone.

"zone_table[world[ch->in_room].zone].number * 100" would work.

--
George Greer
greerga@circlemud.org


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