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:
aeff0b2
)
乗馬中でも足元の罠や宝箱を解除したり開けたりできるように修正。
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 1 Feb 2002 07:21:33 +0000
(07:21 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 1 Feb 2002 07:21:33 +0000
(07:21 +0000)
src/cmd2.c
patch
|
blob
|
history
diff --git
a/src/cmd2.c
b/src/cmd2.c
index
f5ee0d7
..
334bf90
100644
(file)
--- a/
src/cmd2.c
+++ b/
src/cmd2.c
@@
-1295,7
+1295,7
@@
void do_cmd_open(void)
}
/* Monster in the way */
- else if (c_ptr->m_idx)
+ else if (c_ptr->m_idx
&& p_ptr->riding != c_ptr->m_idx
)
{
/* Take a turn */
energy_use = 100;
@@
-2435,7
+2435,7
@@
void do_cmd_disarm(void)
}
/* Monster in the way */
- else if (c_ptr->m_idx)
+ else if (c_ptr->m_idx
&& p_ptr->riding != c_ptr->m_idx
)
{
/* Message */
#ifdef JP