Might be easier to just go the long approach aswell. This looks like it will
work but it is late and i am in the process of a research paper so my mind
is not really in a programming mode and thus it may not work. So, with
anything you use, you do so at your own risk.:p

bool can_see_exit( CHAR_DATA *ch, EXIT_DATA *pExit )
{
    if (!IS_SET(pExit->exit_info, EX_HIDDEN))
        return TRUE;
    else if (IS_SET(pExit->exit_info, EX_HIDDEN) && (IS_AFFECTED(ch,
AFF_DETECT_HIDDEN ) || IS_IMMORTAL(ch)))
        return TRUE;
    return FALSE;
}

-Ostoles


Reply via email to