Re: DIG_COPYTO

From: George Greer (greerga@circlemud.org)
Date: 01/08/00


On Sat, 8 Jan 2000, Manafort wrote:

>George Greer wrote:
>"I don't like the '/100' method because it breaks when zones don't have
>exactly 100 rooms.
>Use 'zone_table[roompointer->zone].number' if possible."
>
>How would i use that? since i see it important so my mud wont keep
>breaking...

Virtual zone of 'struct room_data *':

    zone_table[roompointer->zone].number

Virtual zone number of room ROOMVNUM:

    zone_table[world[real_room(ROOMVNUM)].zone].number

Make sure ROOMVNUM exists.

--
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 : 04/10/01 PDT