bool do_disturb = disturb_move;
POSITION d;
-
- /* Current location */
POSITION fy = m_ptr->fy;
POSITION fx = m_ptr->fx;
d = m_ptr->cdis;
}
-
/* Detected */
if (m_ptr->mflag2 & (MFLAG2_MARK)) flag = TRUE;
-
/* Nearby */
if (d <= (in_darkness ? MAX_SIGHT / 2 : MAX_SIGHT))
{
r_ptr->r_sights++;
}
- /* Eldritch Horror */
if (r_info[m_ptr->ap_r_idx].flags2 & RF2_ELDRITCH_HORROR)
{
sanity_blast(m_ptr, FALSE);
{
int attempts = 1000;
MONRACE_IDX ap_r_idx;
- DEPTH min = MIN(current_floor_ptr->base_level-5, 50);
+ DEPTH min = MIN(current_floor_ptr->base_level - 5, 50);
if (p_ptr->pseikaku == SEIKAKU_CHARGEMAN)
{
/* DO NOT PLACE A MONSTER IN THE SMALL SCALE WILDERNESS !!! */
if (p_ptr->wild_mode) return FALSE;
- /* Verify location */
if (!in_bounds(y, x)) return (FALSE);
if (!r_idx) return (FALSE);
if (!r_ptr->name) return (FALSE);
int w = Term->wid;
int h = Term->hgt;
- /* Verify location */
if ((x < 0) || (x >= w)) return (-1);
if ((y < 0) || (y >= h)) return (-1);
TERM_LEN w = Term->wid;
TERM_LEN h = Term->hgt;
- /* Verify location */
if ((x < 0) || (x >= w)) return (-1);
if ((y < 0) || (y >= h)) return (-1);