変愚蛮怒のメインリポジトリです
Revision | 0dc6f519432b0bf07487498c4b2d013624a90e67 (tree) |
---|---|
Zeit | 2018-04-21 10:01:51 |
Autor | Deskull <deskull@user...> |
Commiter | Deskull |
[fix] #38221 (2.2.1.4) 無双の型の反撃時、モンスター名の未使用変数参照を修正。 / Fix referenced no initialized variable on counter of musou.
@@ -53,7 +53,7 @@ | ||
53 | 53 | #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ |
54 | 54 | #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ |
55 | 55 | #define FAKE_VER_PATCH 1 /*!< ゲームのバージョン番号定義(パッチ番号) */ |
56 | -#define FAKE_VER_EXTRA 3 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
56 | +#define FAKE_VER_EXTRA 4 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
57 | 57 | |
58 | 58 | |
59 | 59 | /*! |
@@ -2047,7 +2047,7 @@ bool make_attack_normal(MONSTER_IDX m_idx) | ||
2047 | 2047 | if ((p_ptr->counter || (p_ptr->special_defense & KATA_MUSOU)) && alive && !p_ptr->is_dead && m_ptr->ml && (p_ptr->csp > 7)) |
2048 | 2048 | { |
2049 | 2049 | char m_target_name[80]; |
2050 | - monster_desc(m_name, m_ptr, 0); | |
2050 | + monster_desc(m_target_name, m_ptr, 0); | |
2051 | 2051 | |
2052 | 2052 | p_ptr->csp -= 7; |
2053 | 2053 | msg_format(_("%^sに反撃した!", "Your counterattack to %s!"), m_target_name); |