mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-14 03:25:05 +01:00
Fix missing is_troll
This commit is contained in:
parent
2a91df081d
commit
6fcd3b2a33
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@
|
|||
#define is_gnome(ptr) (((ptr)->mflags2 & M2_GNOME) != 0L)
|
||||
#define is_orc(ptr) (((ptr)->mflags2 & M2_ORC) != 0L)
|
||||
#define is_ogre(ptr) ((ptr)->mlet == S_OGRE)
|
||||
#define is_troll(ptr) ((ptr)->mlet == S_TROLL)
|
||||
#define is_kobold(ptr) ((ptr)->mlet == S_KOBOLD)
|
||||
#define is_ettin(ptr) ((ptr) == &mons[PM_ETTIN])
|
||||
#define is_human(ptr) (((ptr)->mflags2 & M2_HUMAN) != 0L)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue