minor tidy up of some macro placements
A very small number of relatively recent macro definitions got placed in mondata.h, even though they had a 'struct monst *' argument, rather than a 'struct permonst *' argument. Relocate the macros with the 'struct monst *' argument to include/monst.h, leaving the macros with the 'struct permonst *' argument in include/mondata.h.
This commit is contained in:
@@ -84,9 +84,4 @@ extern NEARDATA struct permonst mons[NUMMONS + 1]; /* the master list of monster
|
||||
#define FAST_SPEED 15
|
||||
#define VERY_FAST 24
|
||||
|
||||
#ifdef PMNAME_MACROS
|
||||
#define pmname(pm,g) ((((g) == MALE || (g) == FEMALE) && (pm)->pmnames[g]) \
|
||||
? (pm)->pmnames[g] : (pm)->pmnames[NEUTRAL])
|
||||
#endif
|
||||
|
||||
#endif /* PERMONST_H */
|
||||
|
||||
Reference in New Issue
Block a user