OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #39076 冗長なコメントを削除しつつ、 OBJECT_IS_HELD_MONSTER() マクロに置換。
[hengband/hengband.git]
/
src
/
object-hook.h
diff --git
a/src/object-hook.h
b/src/object-hook.h
index
4d53246
..
83ea5a9
100644
(file)
--- a/
src/object-hook.h
+++ b/
src/object-hook.h
@@
-70,6
+70,8
@@
extern bool object_is_quest_target(object_type *o_ptr);
#define OBJECT_IS_VALID(T) ((T)->k_idx != 0)
+#define OBJECT_IS_HELD_MONSTER(T) ((T)->held_m_idx != 0)
+
/*
* Artifacts use the "name1" field
*/