X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fmspells1.c;h=70d5ef1911a8d03240119ce64e428f068ebc793f;hb=eb2f15d1cfc313fda1f0578f2685246f3b76af4d;hp=d4819c826f3a1ae6077ff3f6cfbcb8464341c22a;hpb=5b8ce0f629f5f3067f7f042ce7eaac11079e1f49;p=hengband%2Fhengband.git diff --git a/src/mspells1.c b/src/mspells1.c index d4819c826..70d5ef191 100644 --- a/src/mspells1.c +++ b/src/mspells1.c @@ -415,7 +415,6 @@ bool raise_possible(monster_type *m_ptr) /* Scan the pile of objects */ for (this_o_idx = c_ptr->o_idx; this_o_idx; this_o_idx = next_o_idx) { - /* Acquire object */ object_type *o_ptr = &o_list[this_o_idx]; /* Acquire next object */ @@ -1467,7 +1466,7 @@ bool make_attack_spell(MONSTER_IDX m_idx) } else if ((f5 & RF5_BA_LITE) && (m_ptr->cdis <= MAX_RANGE)) { - int by = y, bx = x; + POSITION by = y, bx = x; get_project_point(m_ptr->fy, m_ptr->fx, &by, &bx, 0L); if ((distance(by, bx, y, x) <= 3) && los(by, bx, y, x) && one_in_(5)) {