OSDN Git Service

#37482 (2.2.0.76) 折れ剣修復の際にダイスブーストが余計にかかっていた不具合を修正。 / Fix dice boost more than enough...
authorDeskull <desull@users.sourceforge.jp>
Fri, 1 Sep 2017 16:19:12 +0000 (01:19 +0900)
committerDeskull <desull@users.sourceforge.jp>
Fri, 1 Sep 2017 16:19:12 +0000 (01:19 +0900)
src/bldg.c
src/defines.h

index cec5d41..9a6882c 100644 (file)
@@ -3347,7 +3347,7 @@ static int repair_broken_weapon_aux(int bcost)
        if (dd_bonus > 0)
        {
                o_ptr->dd++;
-               for (i = 0; i < dd_bonus; i++)
+               for (i = 1; i < dd_bonus; i++)
                {
                        if (one_in_(o_ptr->dd + i)) o_ptr->dd++;
                }
@@ -3355,7 +3355,7 @@ static int repair_broken_weapon_aux(int bcost)
        if (ds_bonus > 0)
        {
                o_ptr->ds++;
-               for (i = 0; i < ds_bonus; i++)
+               for (i = 1; i < ds_bonus; i++)
                {
                        if (one_in_(o_ptr->ds + i)) o_ptr->ds++;
                }
index 05cf1e8..2e9392a 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 75 /*!< ゲームのバージョン番号定義(エクストラ番号) */
+#define FAKE_VER_EXTRA 76 /*!< ゲームのバージョン番号定義(エクストラ番号) */
 
 
  /*!