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:
5e601a5
)
[Fix] モンスターの死体や骨が正しく表示されない
author
Habu
<habu1010+github@gmail.com>
Mon, 26 Dec 2022 15:30:02 +0000
(
00:30
+0900)
committer
Habu
<habu1010+github@gmail.com>
Mon, 26 Dec 2022 15:30:02 +0000
(
00:30
+0900)
describe_flavor をリファクタリングした時に basename と modstr の順序が誤って逆に
なっていた。正しい順序に修正する。
src/flavor/tval-description-switcher.cpp
patch
|
blob
|
history
diff --git
a/src/flavor/tval-description-switcher.cpp
b/src/flavor/tval-description-switcher.cpp
index
6eb198d
..
c334e80
100644
(file)
--- a/
src/flavor/tval-description-switcher.cpp
+++ b/
src/flavor/tval-description-switcher.cpp
@@
-79,7
+79,7
@@
static std::pair<std::string, std::string> describe_corpse(const ItemEntity &ite
? "& % of #"
: "& # %";
#endif
- return {
modstr, basename
};
+ return {
basename, modstr
};
}
/*!