• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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


Commit MetaInfo

Revision0dc6f519432b0bf07487498c4b2d013624a90e67 (tree)
Zeit2018-04-21 10:01:51
AutorDeskull <deskull@user...>
CommiterDeskull

Log Message

[fix] #38221 (2.2.1.4) 無双の型の反撃時、モンスター名の未使用変数参照を修正。 / Fix referenced no initialized variable on counter of musou.

Ändern Zusammenfassung

Diff

--- 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 1 /*!< ゲームのバージョン番号定義(パッチ番号) */
56-#define FAKE_VER_EXTRA 3 /*!< ゲームのバージョン番号定義(エクストラ番号) */
56+#define FAKE_VER_EXTRA 4 /*!< ゲームのバージョン番号定義(エクストラ番号) */
5757
5858
5959 /*!
--- a/src/melee1.c
+++ b/src/melee1.c
@@ -2047,7 +2047,7 @@ bool make_attack_normal(MONSTER_IDX m_idx)
20472047 if ((p_ptr->counter || (p_ptr->special_defense & KATA_MUSOU)) && alive && !p_ptr->is_dead && m_ptr->ml && (p_ptr->csp > 7))
20482048 {
20492049 char m_target_name[80];
2050- monster_desc(m_name, m_ptr, 0);
2050+ monster_desc(m_target_name, m_ptr, 0);
20512051
20522052 p_ptr->csp -= 7;
20532053 msg_format(_("%^sに反撃した!", "Your counterattack to %s!"), m_target_name);