Files
nethack/src
nhmall feebb561d6 redundant comparison code watchman_canseeu()
m_canseeu() already includes couldsee() so redundant code was flagged.

: #define m_canseeu(m) \
:     ((!Invis || perceives((m)->data))                      \
:      && !Underwater                                        \
:      && couldsee((m)->mx, (m)->my))

static boolean
watchman_canseeu(struct monst *mtmp)
{
    if (is_watch(mtmp->data) && mtmp->mcansee && m_canseeu(mtmp)
        && couldsee(mtmp->mx, mtmp->my) && mtmp->mpeaceful)
        return TRUE;
    return FALSE;
}
2022-09-07 07:52:33 -04:00
..
2022-02-04 09:41:30 -05:00
2022-08-11 17:07:43 +03:00
2022-05-31 10:36:12 -07:00
2022-09-06 22:58:28 +03:00
2022-06-30 23:48:18 -04:00
2022-07-18 13:27:39 +03:00
2022-09-06 22:58:28 +03:00
2022-07-02 09:10:03 -04:00
2022-08-30 14:56:40 -07:00
2022-08-28 18:43:35 +03:00
2022-03-17 18:10:38 -04:00
2022-09-04 17:43:06 +03:00
2022-08-18 01:09:52 -07:00
2022-08-28 16:57:42 -07:00
2022-08-20 16:35:31 +03:00
2022-08-28 14:32:47 -07:00
2022-06-30 23:48:18 -04:00
2022-07-02 09:10:03 -04:00
2022-08-05 10:33:55 +03:00
2022-08-23 00:45:30 -07:00
2022-07-15 13:48:29 -07:00
2022-08-09 11:54:45 +03:00
2022-08-31 17:23:55 -07:00
2022-08-19 06:12:51 -07:00
2022-08-21 11:36:39 +03:00
2022-05-07 10:25:13 -04:00
2022-08-31 13:04:54 -07:00
2022-08-22 13:32:12 +03:00
2022-07-19 15:14:55 +03:00
2022-08-14 10:12:54 +03:00
2022-09-04 17:43:06 +03:00
2022-08-18 14:38:45 -07:00
2022-08-09 11:54:45 +03:00
2022-09-06 22:58:28 +03:00
2022-08-21 11:36:39 +03:00
2022-08-09 11:54:45 +03:00
2022-06-12 13:19:13 -07:00
2022-08-26 12:43:40 +03:00
2022-07-17 16:12:39 -07:00
2022-01-29 11:13:01 -08:00
2022-08-23 00:45:30 -07:00
2022-04-29 12:44:26 -07:00
2022-08-21 11:36:39 +03:00
2022-08-12 19:37:34 +03:00
2022-07-01 13:08:43 -07:00
2022-09-06 22:58:28 +03:00
2022-07-02 09:10:03 -04:00
2022-08-23 16:01:35 -07:00
2022-02-09 22:49:25 +02:00
2021-01-26 21:06:16 -05:00
2022-08-23 18:34:22 -07:00
2022-07-03 21:23:13 -04:00
2022-07-28 00:51:18 -07:00
2022-07-15 13:48:29 -07:00
2022-07-29 16:11:35 -07:00
2022-03-18 10:19:04 +02:00
2022-09-05 11:16:43 -04:00
2022-08-31 16:34:56 -07:00
2022-07-17 21:37:31 +03:00