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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user