[DG_SCRIPT] Crash in 'script_trigger_check

From: Chi Hue (Mystikarc@softhome.net)
Date: 12/09/01


In function 'void script_trigger_check'
(when called seemingly by zone resets).
It crashes on this segment/line

--Snip--
  for (ch = character_list; ch; ch = ch->next) {
    if (SCRIPT(ch)) {
      sc = SCRIPT(ch);

      if (IS_SET(SCRIPT_TYPES(sc), WTRIG_RANDOM) &&
   (!is_empty(world[IN_ROOM(ch)].zone) ||
// Is Problem line below 
   IS_SET(SCRIPT_TYPES(sc), WTRIG_GLOBAL)))
 random_mtrigger(ch);
--End_Snip--

If others whave had a like problem, or knowledge of such, im open to it. Any help appreciated

--
   +---------------------------------------------------------------+
   | 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 : 06/24/03 PDT