From 0dc6f519432b0bf07487498c4b2d013624a90e67 Mon Sep 17 00:00:00 2001 From: Deskull Date: Sat, 21 Apr 2018 10:01:51 +0900 Subject: [PATCH] =?utf8?q?[fix]=20#38221=20(2.2.1.4)=20=E7=84=A1=E5=8F=8C?= =?utf8?q?=E3=81=AE=E5=9E=8B=E3=81=AE=E5=8F=8D=E6=92=83=E6=99=82=E3=80=81?= =?utf8?q?=E3=83=A2=E3=83=B3=E3=82=B9=E3=82=BF=E3=83=BC=E5=90=8D=E3=81=AE?= =?utf8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E5=A4=89=E6=95=B0=E5=8F=82=E7=85=A7?= =?utf8?q?=E3=82=92=E4=BF=AE=E6=AD=A3=E3=80=82=20/=20Fix=20referenced=20no?= =?utf8?q?=20initialized=20variable=20on=20counter=20of=20musou.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/defines.h | 2 +- src/melee1.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/defines.h b/src/defines.h index e55457fe0..8651998fb 100644 --- a/src/defines.h +++ b/src/defines.h @@ -53,7 +53,7 @@ #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ #define FAKE_VER_PATCH 1 /*!< ゲームのバージョン番号定義(パッチ番号) */ -#define FAKE_VER_EXTRA 3 /*!< ゲームのバージョン番号定義(エクストラ番号) */ +#define FAKE_VER_EXTRA 4 /*!< ゲームのバージョン番号定義(エクストラ番号) */ /*! diff --git a/src/melee1.c b/src/melee1.c index 7b8a8d33e..74a6e38df 100644 --- a/src/melee1.c +++ b/src/melee1.c @@ -2047,7 +2047,7 @@ bool make_attack_normal(MONSTER_IDX m_idx) if ((p_ptr->counter || (p_ptr->special_defense & KATA_MUSOU)) && alive && !p_ptr->is_dead && m_ptr->ml && (p_ptr->csp > 7)) { char m_target_name[80]; - monster_desc(m_name, m_ptr, 0); + monster_desc(m_target_name, m_ptr, 0); p_ptr->csp -= 7; msg_format(_("%^sに反撃した!", "Your counterattack to %s!"), m_target_name); -- 2.11.0