OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f232cb
)
Fix a bug of piercing shot that an artifact arrow/bolt disappears with a monster...
author
iks
<iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 16 Mar 2013 08:23:29 +0000
(08:23 +0000)
committer
iks
<iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 16 Mar 2013 08:23:29 +0000
(08:23 +0000)
- Don't judge a arrow/bolt sticks to monsters or not in the case that the player class is Sniper and a concentrate amount is greater than 0
src/cmd2.c
patch
|
blob
|
history
diff --git
a/src/cmd2.c
b/src/cmd2.c
index
7a6e352
..
b96fd6a
100644
(file)
--- a/
src/cmd2.c
+++ b/
src/cmd2.c
@@
-3860,7
+3860,8
@@
void do_cmd_fire_aux(int item, object_type *j_ptr)
else
{
/* STICK TO */
- if (object_is_fixed_artifact(q_ptr))
+ if (object_is_fixed_artifact(q_ptr) &&
+ (p_ptr->pclass != CLASS_SNIPER || p_ptr->concent == 0))
{
char m_name[80];