I have a question regarding checking whether the player is seen. This is an excerpt of the source code:
It seems to mean that a light-bearing @ or G cannot see the player staying in the darkness, which is somewhat unusual as the reverse appears to make more sense. Do I miss something?
Code:
(Sil)
// check if player is unseen
if ((r_ptr->light > 0) && strchr("@G", r_ptr->d_char) && (cave_light[p_ptr->py][p_ptr->px] <= 0)) unseen = TRUE;
(Sil-Q)
// check if player is unseen
if ((r_ptr->light > 0) && strchr("@G", r_ptr->d_char)
&& (cave_light[p_ptr->py][p_ptr->px] <= 0))
unseen = TRUE;
Comment