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:
5867f46
)
object_desc()内の calc_crit_ratio_shot() 呼び出しミスを修正。 / Fix calling arguments error of...
author
Deskull
<desull@users.sourceforge.jp>
Sun, 16 Aug 2015 13:37:00 +0000
(22:37 +0900)
committer
Deskull
<desull@users.sourceforge.jp>
Sun, 16 Aug 2015 13:37:00 +0000
(22:37 +0900)
src/flavor.c
patch
|
blob
|
history
diff --git
a/src/flavor.c
b/src/flavor.c
index
75d6790
..
4b46127
100644
(file)
--- a/
src/flavor.c
+++ b/
src/flavor.c
@@
-2502,9
+2502,7
@@
void object_desc(char *buf, object_type *o_ptr, u32b mode)
if(show_ammo_crit_ratio)
{
- int percent = calc_crit_ratio_shot(o_ptr->weight,
- known ? o_ptr->to_h : 0,
- object_is_known(bow_ptr) ? bow_ptr->to_h : 0, avgdam);
+ int percent = calc_crit_ratio_shot(known ? o_ptr->to_h : 0, known ? bow_ptr->to_h : 0);
t = object_desc_chr(t, '/');
t = object_desc_num(t, percent / 100);