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:
4f5745f
)
モンスターがテレポートした時反撃対象を解除するようにした。これによってテレポートアウェイで飛ばしたモンスターが次ターンにプレイヤーの周りに召喚する事を防げる。
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 8 Feb 2002 20:37:36 +0000
(20:37 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 8 Feb 2002 20:37:36 +0000
(20:37 +0000)
src/spells3.c
patch
|
blob
|
history
diff --git
a/src/spells3.c
b/src/spells3.c
index
c286bb5
..
ab6b0ff
100644
(file)
--- a/
src/spells3.c
+++ b/
src/spells3.c
@@
-122,6
+122,9
@@
bool teleport_away(int m_idx, int dis, bool dec_valour)
m_ptr->fy = ny;
m_ptr->fx = nx;
+ /* Forget the counter target */
+ reset_target(m_ptr);
+
/* Update the monster (new location) */
update_mon(m_idx, TRUE);