starting pet identification

Make it possible to identify your starting pet throughout the game
via is_starting_pet(mon) macro.
This commit is contained in:
nethack.allison
2003-10-24 11:52:49 +00:00
parent da063bdc18
commit 04174eda2a
4 changed files with 4 additions and 1 deletions

View File

@@ -178,5 +178,6 @@ struct monst {
#define MON_NOWEP(mon) ((mon)->mw = (struct obj *)0)
#define DEADMONSTER(mon) ((mon)->mhp < 1)
#define is_starting_pet(mon) ((mon)->m_id == context.startingpet_mid)
#endif /* MONST_H */