OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f9a76e
)
[Fix] #2416 魔力食いを失敗した時のメッセージがおかしい
author
Habu
<habu1010+github@gmail.com>
Tue, 15 Mar 2022 12:21:34 +0000
(21:21 +0900)
committer
Habu
<habu1010+github@gmail.com>
Tue, 15 Mar 2022 12:21:34 +0000
(21:21 +0900)
1本だけのスタックしていないアイテムから魔力食いをして失敗してアイテムが破壊された時、
「○○が何本壊れた!」と実態に合っていないメッセージが表示される事がある。
「○○が壊れた!」と正しいメッセージに修正する。
src/mind/mind-mage.cpp
patch
|
blob
|
history
diff --git
a/src/mind/mind-mage.cpp
b/src/mind/mind-mage.cpp
index
1a7e5f9
..
7976da0
100644
(file)
--- a/
src/mind/mind-mage.cpp
+++ b/
src/mind/mind-mage.cpp
@@
-185,7
+185,7
@@
bool eat_magic(PlayerType *player_ptr, int power)
o_ptr->pval = o_ptr->pval * (o_ptr->number - 1) / o_ptr->number;
}
} else {
- msg_format(_("乱暴な魔法のために%sが
何本か
壊れた!", "Wild magic consumes your %s!"), o_name);
+ msg_format(_("乱暴な魔法のために%sが壊れた!", "Wild magic consumes your %s!"), o_name);
}
vary_item(player_ptr, item, -1);