Re: exits

From: Matthew Kalinski (frag@earth.global.net.au)
Date: 07/18/96


Try this (off the top of my hed so hey)

in act.info..c
(do_auto_exits)

for (door = 0; door < NUM_OF_DIRS; door++)
   if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE) 
      if (IS_SET(EXIT(ch, door)->exit_info, EX_CLOSED))
          sprintf(buf, "%s%c#", buf, LOWER(*dirs[door]));
      else
          sprintf(buf, "%s%c", buf, LOWER(*dirs[door]));

.. rest same

You can make same for do_exits hope u get idea...

ciao Frag 



This archive was generated by hypermail 2b30 : 12/07/00 PST