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:
623aebb
)
[Fix] ペットのモンスターが蘇生する場合を除いて死体復活によるペット判定が反転してしまっているバグを修正
author
Slimebreath6078
<slimebreath6078@yahoo.co.jp>
Sat, 9 Mar 2024 10:06:16 +0000
(19:06 +0900)
committer
Slimebreath6078
<slimebreath6078@yahoo.co.jp>
Sat, 9 Mar 2024 10:06:16 +0000
(19:06 +0900)
src/effect/effect-item.cpp
patch
|
blob
|
history
diff --git
a/src/effect/effect-item.cpp
b/src/effect/effect-item.cpp
index
8a90d2c
..
3e8e7b4
100644
(file)
--- a/
src/effect/effect-item.cpp
+++ b/
src/effect/effect-item.cpp
@@
-228,7
+228,7
@@
bool affect_item(PlayerType *player_ptr, MONSTER_IDX src_idx, POSITION r, POSITI
}
BIT_FLAGS mode = 0L;
- if (is_
monst
er(src_idx) || player_ptr->current_floor_ptr->m_list[src_idx].is_pet()) {
+ if (is_
play
er(src_idx) || player_ptr->current_floor_ptr->m_list[src_idx].is_pet()) {
mode |= PM_FORCE_PET;
}