• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: コミット

変愚蛮怒のメインリポジトリです


コミットメタ情報

リビジョン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().

変更サマリ

差分

--- a/src/defines.h
+++ b/src/defines.h
@@ -53,7 +53,7 @@
5353 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
5454 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
5555 #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
56-#define FAKE_VER_EXTRA 90 /*!< ゲームのバージョン番号定義(エクストラ番号) */
56+#define FAKE_VER_EXTRA 91 /*!< ゲームのバージョン番号定義(エクストラ番号) */
5757
5858
5959 /*!
--- a/src/hex.c
+++ b/src/hex.c
@@ -29,8 +29,7 @@ bool stop_hex_spell_all(void)
2929
3030 for (i = 0; i < 32; i++)
3131 {
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);
3433 }
3534
3635 p_ptr->magic_num1[0] = 0;
旧リポジトリブラウザで表示