リビジョン | 8b27fa07d315c6b9ec79421a27b0eceb082d5ab4 (tree) |
---|---|
日時 | 2017-09-21 00:23:06 |
作者 | Deskull <desull@user...> |
コミッター | Deskull |
#37523 (2.2.0.91) stop_hex_spell_all()で呪術を停止した時メッセージが表示されない不具合を修正。 / Fix not print message to stop hex spell by stop_hex_spell_all().
@@ -53,7 +53,7 @@ | ||
53 | 53 | #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ |
54 | 54 | #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ |
55 | 55 | #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */ |
56 | -#define FAKE_VER_EXTRA 90 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
56 | +#define FAKE_VER_EXTRA 91 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
57 | 57 | |
58 | 58 | |
59 | 59 | /*! |
@@ -29,8 +29,7 @@ bool stop_hex_spell_all(void) | ||
29 | 29 | |
30 | 30 | for (i = 0; i < 32; i++) |
31 | 31 | { |
32 | - u32b spell = 1L << i; | |
33 | - if (hex_spelling(spell)) do_spell(REALM_HEX, spell, SPELL_STOP); | |
32 | + if (hex_spelling(i)) do_spell(REALM_HEX, i, SPELL_STOP); | |
34 | 33 | } |
35 | 34 | |
36 | 35 | p_ptr->magic_num1[0] = 0; |