Re: [Question] [Newbie] zone flags

From: Anton Graham (
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
Death is only the beginning....               -- Not Open to the Public --

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/05/01 PST