X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fhex.c;h=101ceb9b8392ac50c9777c8c8f031d884efbca67;hb=81898eff96d5e8dd8dc79d092d9420aacff6ef68;hp=1dc1f75a62f498cc0a1d102a4b118fa3355e2c62;hpb=3011c999c3d5a4c7761b8dd6f543cfb257f051f7;p=hengband%2Fhengband.git diff --git a/src/hex.c b/src/hex.c index 1dc1f75a6..101ceb9b8 100644 --- 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;