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:
6b0e1a8
)
[Fix] #40301 calc_weapon_one_hand()の戻り値からの分岐が真偽逆になっていたので修正. / Fixed the problem that...
author
deskull
<deskull@users.sourceforge.jp>
Mon, 1 Jun 2020 15:39:58 +0000
(
00:39
+0900)
committer
deskull
<deskull@users.sourceforge.jp>
Mon, 1 Jun 2020 15:39:58 +0000
(
00:39
+0900)
src/view/status-first-page.c
patch
|
blob
|
history
diff --git
a/src/view/status-first-page.c
b/src/view/status-first-page.c
index
b360ef5
..
4298a51
100644
(file)
--- a/
src/view/status-first-page.c
+++ b/
src/view/status-first-page.c
@@
-261,7
+261,7
@@
static void calc_two_hands(player_type *creature_ptr, int *damage, int *to_h)
}
o_ptr = &creature_ptr->inventory_list[INVEN_RARM + i];
- if (calc_weapon_one_hand(o_ptr, i, damage, &basedam)) continue;
+ if (
!
calc_weapon_one_hand(o_ptr, i, damage, &basedam)) continue;
to_h[i] = 0;
bool poison_needle = FALSE;