- Timestamp:
- 06/13/09 16:00:39 (15 months ago)
- Files:
-
- 1 modified
-
trunk/src/monster/monster2.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/monster/monster2.c
r1440 r1441 618 618 if (!list[m_ptr->r_idx].count) type_count++; 619 619 620 /* Check for LOS */ 621 if (m_ptr->mflag & (MFLAG_VIEW)) 620 /* Check for LOS 621 * Hack - we should use (m_ptr->mflag & (MFLAG_VIEW)) here, 622 * but this does not catch monsters detected by ESP which are 623 * targetable, so we cheat and use projectable() instead 624 */ 625 if (projectable(p_ptr->py, p_ptr->px, m_ptr->fy, m_ptr->fx, 626 PROJECT_NONE)) 622 627 { 623 628 /* Increment the total number of in-LOS monsters */
