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:
d4d333c
)
[Fix] #37353 monster_is_valid()の間抜けなbool反転ミスを修正。 / Fix shameful bug in monster_is_val...
author
deskull
<deskull@users.sourceforge.jp>
Wed, 20 Mar 2019 15:59:08 +0000
(
00:59
+0900)
committer
deskull
<deskull@users.sourceforge.jp>
Wed, 20 Mar 2019 15:59:08 +0000
(
00:59
+0900)
src/monster-status.c
patch
|
blob
|
history
diff --git
a/src/monster-status.c
b/src/monster-status.c
index
784d376
..
98566cf
100644
(file)
--- a/
src/monster-status.c
+++ b/
src/monster-status.c
@@
-1382,5
+1382,5
@@
bool mon_take_hit(MONSTER_IDX m_idx, HIT_POINT dam, bool *fear, concptr note)
bool monster_is_valid(monster_type *m_ptr)
{
- return (
!
m_ptr->r_idx);
+ return (m_ptr->r_idx);
}
\ No newline at end of file