>>>>> On Wed, 4 Apr 2001 22:34:14 -0700,
>>>>> Edward Felch <dustlos@hotmail.com> wrote:
>> in utils.h:
>> #define ZONE_FLAGS(loc) (zone_table[(loc)].zone_flags) define
>> #ZONE_FLAGGED(loc, flag) (IS_SET(ZONE_FLAGS(loc), (flag)))
>> an example of trying to use the zone flags:
>> if (ZONE_FLAGGED(victim->in_room/100, ZONE_NORECALL)) {
^^^^^^^^^^^^^^^^^^^
>> send_to_char("1 You can't recall from this area.\r\n",
>> ch); return;
I guess you'd rather want something like world[victim->in_room].zone
instead.
Burkhard
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/05/01 PST