Re: [Question] [Newbie] zone flags

From: Mike Breuer (mbreuer@new.rr.com)
Date: 04/05/01


----- Original Message -----
From: "Anton Graham" <darkimage@BIGFOOT.COM>
Sent: Thursday, April 05, 2001 12:14 PM


>   if (ZONE_FLAGGED(victim->in_room->zone, ZONE_NORECALL)) {
>
> should work.

Actually, that won't work because victim->in_room is an rnum, and not a
pointer to a struct room_data.  The correct answer was given by the previous
poster as:

if (ZONE_FLAGGED(world[victim->in_room].zone, ZONE_NORECALL)) {

Mike

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