• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisioncb671fe808c9b720be133f0e2f9e6593a4c287fe (tree)
Time2017-06-30 21:57:49
AuthorDeskull <desull@user...>
CommiterDeskull

Log Message

(2.2.0.10) 打撃周りの致命的なエンバグを修正。EXTRA番号付きバージョンが開発版であることを明記。 / Fix fatal bug of melee by refactoring. Display that extra version number was contained in development version.

Change Summary

Incremental Difference

--- a/lib/file/news.txt
+++ b/lib/file/news.txt
@@ -1,6 +1,6 @@
11
22 ****************************************
3- ** Hengband 2.2.0 **
3+ ** Hengband 2.2.0.10(Develop) **
44 ****************************************
55
66 Based on Moria: Copyright (c) 1985 Robert Alan Koeneke
--- a/lib/file/news_j.txt
+++ b/lib/file/news_j.txt
@@ -1,6 +1,6 @@
11
22 ***************************************
3- ** 変愚蛮怒 2.2.0 **
3+ ** 変愚蛮怒 2.2.0.10(開発版) **
44 ***************************************
55
66 Based on Moria: Copyright (c) 1985 Robert Alan Koeneke
--- 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 9 /*!< ゲームのバージョン番号定義(エクストラ番号) */
56+#define FAKE_VER_EXTRA 10 /*!< ゲームのバージョン番号定義(エクストラ番号) */
5757
5858 /*!
5959 * @brief セーブファイル上のバージョン定義(メジャー番号) / "Savefile Version Number" for Hengband 1.1.1 and later
@@ -71,7 +71,7 @@
7171 #define H_VER_MAJOR 2 /*!< セーブファイル上のバージョン定義(メジャー番号) */
7272 #define H_VER_MINOR 2 /*!< セーブファイル上のバージョン定義(マイナー番号) */
7373 #define H_VER_PATCH 0 /*!< セーブファイル上のバージョン定義(パッチ番号) */
74-#define H_VER_EXTRA 9 /*!< セーブファイル上のバージョン定義(エクストラ番号) */
74+#define H_VER_EXTRA 10 /*!< セーブファイル上のバージョン定義(エクストラ番号) */
7575
7676 #define ANGBAND_2_8_1 /*!< Angband 2.8.1以降から有効な処理分岐を定義 */
7777 #define ZANGBAND /*!< Zangband 以降から有効な処理分岐を定義 */
--- a/src/melee1.c
+++ b/src/melee1.c
@@ -1648,7 +1648,7 @@ bool make_attack_normal(int m_idx)
16481648 }
16491649
16501650 /* Apply the cut */
1651- if (k) (void)set_cut(p_ptr->cut + cut_plus);
1651+ if (cut_plus) (void)set_cut(p_ptr->cut + cut_plus);
16521652 }
16531653
16541654 /* Handle stun */
@@ -1669,11 +1669,11 @@ bool make_attack_normal(int m_idx)
16691669 case 4: stun_plus = randint1(15) + 30; break;
16701670 case 5: stun_plus = randint1(20) + 40; break;
16711671 case 6: stun_plus = 80; break;
1672- default: k = 150; break;
1672+ default: stun_plus = 150; break;
16731673 }
16741674
16751675 /* Apply the stun */
1676- if (k) (void)set_stun(p_ptr->stun + k);
1676+ if (stun_plus) (void)set_stun(p_ptr->stun + stun_plus);
16771677 }
16781678
16791679 if (explode)
Show on old repository browser