OSDN Git Service

Merge branch 'Fix2.2.0Bugs'
[hengband/hengband.git] / src / hex.c
index 1dc1f75..101ceb9 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);
        }
 
        CASTING_HEX_FLAGS(p_ptr) = 0;