Re: [Question] [Newbie] zone flags

From: Anton Graham (darkimage@bigfoot.com)
Date: 04/06/01


Mike Breuer scrawled the following:
> 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)) {

You are, of course, correct... I don't use rnums anymore, and forgot that
it was an rnum. (ch->in_room is a pointer to the room)

--
Anton Graham aka Dionysus                     Implementor of Etruria
                                              bladehawke.darktech.org:4000
Death is only the beginning....               -- Not Open to the Public --

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