I try to set up a check in act.movement.c
going like this
if (GET_LEVEL(ch) >= LVL_IMMORT && GET_LEVEL(ch) < LVL_BUILDER) {
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.
http://www.hotmail.com
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT