1
0
Fork 0
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:
Chris-plus-alphanumericgibberish 2015-01-28 13:23:23 -05:00
parent 2a91df081d
commit 6fcd3b2a33

View file

@ -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)