OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #38844 pet_t_m_idx, riding_t_m_idx を player_type 構造体に移動.
[hengband/hengband.git]
/
src
/
melee1.c
diff --git
a/src/melee1.c
b/src/melee1.c
index
6561497
..
9747a89
100644
(file)
--- a/
src/melee1.c
+++ b/
src/melee1.c
@@
-2306,7
+2306,7
@@
bool py_attack(POSITION y, POSITION x, COMBAT_OPTION_IDX mode)
}
}
- riding_t_m_idx = g_ptr->m_idx;
+
p_ptr->
riding_t_m_idx = g_ptr->m_idx;
if (p_ptr->migite) py_attack_aux(y, x, &fear, &mdeath, 0, mode);
if (p_ptr->hidarite && !mdeath) py_attack_aux(y, x, &fear, &mdeath, 1, mode);