summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/melee2.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/melee2.cc b/src/melee2.cc
index a0f43492..6d025511 100644
--- a/src/melee2.cc
+++ b/src/melee2.cc
@@ -2746,9 +2746,6 @@ static bool_ make_attack_spell(int m_idx)
/* Extract the "see-able-ness" */
bool_ seen = (!blind && m_ptr->ml);
- /* Assume "normal" target */
- bool_ normal = TRUE;
-
/* Target location */
if (m_ptr->target > -1)
{
@@ -2787,8 +2784,7 @@ static bool_ make_attack_spell(int m_idx)
/* Sometimes forbid inate attacks (breaths) */
if (rand_int(100) >= (chance * 2)) no_inate = TRUE;
- /* Hack -- require projectable player */
- if (normal)
+ /* Require projectable player */
{
/* Check range */
if (m_ptr->cdis > MAX_RANGE) return (FALSE);