zone flag checks

From: Scott Meisenholder (
Date: 04/19/02

I try to set up a check in act.movement.c

going like this

     IF (ZONE_FLAGGED(EXIT(ch, dir)->to_room), ZONE_QUEST)) {
        send_to_char(" Your not allowed in there!\r\n",  ch)
        return (0);

It always crashes on the EXIT(ch, dir)->to_room

ok probably having brain fart can someone point out the obvious.

Zone_flagged (loc, flagged)    (IS_SET(ZONE_FLAGS((loc), FLAGS)))
zone_flags (loc)               (zone(loc).zone_flags)

SCott the brain dead one this week.

Join the world’s largest e-mail service with MSN Hotmail.

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT