OSDN Git Service

#37523 (2.2.0.91) stop_hex_spell_all()で呪術を停止した時メッセージが表示されない不具合を修正。 / Fix not print...
[hengband/hengband.git] / src / hex.c
index fb06310..70a3f3c 100644 (file)
--- a/src/hex.c
+++ b/src/hex.c
@@ -29,8 +29,7 @@ bool stop_hex_spell_all(void)
 
        for (i = 0; i < 32; i++)
        {
-               u32b spell = 1L << i;
-               if (hex_spelling(spell)) do_spell(REALM_HEX, spell, SPELL_STOP);
+               if (hex_spelling(i)) do_spell(REALM_HEX, i, SPELL_STOP);
        }
 
        p_ptr->magic_num1[0] = 0;