OSDN Git Service

Merge branch 'For2.2.2-Refactoring' into For2.2.2-Fix-Hourier
authorHourier <hourier@users.sourceforge.jp>
Sun, 16 Feb 2020 06:28:46 +0000 (15:28 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sun, 16 Feb 2020 06:28:46 +0000 (15:28 +0900)
1  2 
src/monster-process.c

@@@ -1290,9 -1112,8 +1112,8 @@@ void process_monster(player_type *targe
  
        process_special(target_ptr, m_idx);
        process_speak_sound(target_ptr, m_idx, oy, ox, aware);
 -      cast_spell(target_ptr, m_idx, aware);
 +      if (cast_spell(target_ptr, m_idx, aware)) return;
  
-       /* Hack -- Assume no movement */
        mm[0] = mm[1] = mm[2] = mm[3] = 0;
        mm[4] = mm[5] = mm[6] = mm[7] = 0;