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:
93ba926
)
[Fix] drawing sniper rushing arrow's moving points #251
author
iks
<iks3@users.noreply.github.com>
Mon, 22 Feb 2021 11:22:54 +0000
(20:22 +0900)
committer
iks
<iks3@users.noreply.github.com>
Mon, 22 Feb 2021 11:22:54 +0000
(20:22 +0900)
Fix drawing oddly moving points of monster which is rushed by rushing arrow with many @s because update_monster() reference wrong monster's index.
src/combat/shoot.c
patch
|
blob
|
history
diff --git
a/src/combat/shoot.c
b/src/combat/shoot.c
index
9af354a
..
d63bbfa
100644
(file)
--- a/
src/combat/shoot.c
+++ b/
src/combat/shoot.c
@@
-777,7
+777,7
@@
void exe_fire(player_type *shooter_ptr, INVENTORY_IDX item, object_type *j_ptr,
m_ptr->fx = nx;
m_ptr->fy = ny;
- update_monster(shooter_ptr,
c_mon_ptr->
m_idx, TRUE);
+ update_monster(shooter_ptr, m_idx, TRUE);
if (msec > 0) {
lite_spot(shooter_ptr, ny, nx);