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:
18b15a0
)
属性の比較で、z_ptrであるべき所がr_ptrになっていたため、違う属性のモンスターをESCORTする可能性があるバグを修正。
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 17 Feb 2002 16:13:10 +0000
(16:13 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 17 Feb 2002 16:13:10 +0000
(16:13 +0000)
src/monster2.c
patch
|
blob
|
history
diff --git
a/src/monster2.c
b/src/monster2.c
index
0022932
..
a275870
100644
(file)
--- a/
src/monster2.c
+++ b/
src/monster2.c
@@
-3253,7
+3253,7
@@
static bool place_monster_okay(int r_idx)
/* Skip different alignment */
if (((r_ptr->flags3 & RF3_EVIL) && (z_ptr->flags3 & RF3_GOOD)) ||
- ((r_ptr->flags3 & RF3_GOOD) && (
r
_ptr->flags3 & RF3_EVIL)))
+ ((r_ptr->flags3 & RF3_GOOD) && (
z
_ptr->flags3 & RF3_EVIL)))
return FALSE;
if (r_ptr->flags7 & RF7_FRIENDLY)