OSDN Git Service

(2.2.0.10) 打撃周りの致命的なエンバグを修正。EXTRA番号付きバージョンが開発版であることを明記。 / Fix fatal bug of melee...
authorDeskull <desull@users.sourceforge.jp>
Fri, 30 Jun 2017 12:57:49 +0000 (21:57 +0900)
committerDeskull <desull@users.sourceforge.jp>
Fri, 30 Jun 2017 12:57:49 +0000 (21:57 +0900)
lib/file/news.txt
lib/file/news_j.txt
src/defines.h
src/melee1.c

index 585bebe..7fcb648 100644 (file)
@@ -1,6 +1,6 @@
 
                   ****************************************
-                  **           Hengband 2.2.0           **
+                  **     Hengband 2.2.0.10(Develop)     **
                   ****************************************
 
           Based on Moria:   Copyright (c) 1985 Robert Alan Koeneke
index 2081b85..f6016cd 100644 (file)
@@ -1,6 +1,6 @@
 
                   ***************************************
-                  **           変愚蛮怒 2.2.0          **
+                  **     変愚蛮怒 2.2.0.10(開発版)     **
                   ***************************************
 
           Based on Moria:    Copyright (c) 1985 Robert Alan Koeneke
index 1d3d32b..0cc0c43 100644 (file)
@@ -53,7 +53,7 @@
 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
 #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
-#define FAKE_VER_EXTRA 9 /*!< ゲームのバージョン番号定義(エクストラ番号) */
+#define FAKE_VER_EXTRA 10 /*!< ゲームのバージョン番号定義(エクストラ番号) */
 
 /*!
  * @brief セーブファイル上のバージョン定義(メジャー番号) / "Savefile Version Number" for Hengband 1.1.1 and later
@@ -71,7 +71,7 @@
 #define H_VER_MAJOR 2 /*!< セーブファイル上のバージョン定義(メジャー番号) */
 #define H_VER_MINOR 2 /*!< セーブファイル上のバージョン定義(マイナー番号) */
 #define H_VER_PATCH 0 /*!< セーブファイル上のバージョン定義(パッチ番号) */
-#define H_VER_EXTRA 9 /*!< セーブファイル上のバージョン定義(エクストラ番号) */
+#define H_VER_EXTRA 10 /*!< セーブファイル上のバージョン定義(エクストラ番号) */
 
 #define ANGBAND_2_8_1 /*!< Angband 2.8.1以降から有効な処理分岐を定義 */
 #define ZANGBAND /*!< Zangband 以降から有効な処理分岐を定義 */
index f9fe401..973f6e1 100644 (file)
@@ -1648,7 +1648,7 @@ bool make_attack_normal(int m_idx)
                                }
 
                                /* Apply the cut */
-                               if (k) (void)set_cut(p_ptr->cut + cut_plus);
+                               if (cut_plus) (void)set_cut(p_ptr->cut + cut_plus);
                        }
 
                        /* Handle stun */
@@ -1669,11 +1669,11 @@ bool make_attack_normal(int m_idx)
                                        case 4: stun_plus = randint1(15) + 30; break;
                                        case 5: stun_plus = randint1(20) + 40; break;
                                        case 6: stun_plus = 80; break;
-                                       default: k = 150; break;
+                                       default: stun_plus = 150; break;
                                }
 
                                /* Apply the stun */
-                               if (k) (void)set_stun(p_ptr->stun + k);
+                               if (stun_plus) (void)set_stun(p_ptr->stun + stun_plus);
                        }
 
                        if (explode)