context to g.context
This commit is contained in:
@@ -246,12 +246,12 @@ struct sortloot_item {
|
||||
typedef struct sortloot_item Loot;
|
||||
|
||||
#define MATCH_WARN_OF_MON(mon) \
|
||||
(Warn_of_mon && ((context.warntype.obj \
|
||||
&& (context.warntype.obj & (mon)->data->mflags2)) \
|
||||
|| (context.warntype.polyd \
|
||||
&& (context.warntype.polyd & (mon)->data->mflags2)) \
|
||||
|| (context.warntype.species \
|
||||
&& (context.warntype.species == (mon)->data))))
|
||||
(Warn_of_mon && ((g.context.warntype.obj \
|
||||
&& (g.context.warntype.obj & (mon)->data->mflags2)) \
|
||||
|| (g.context.warntype.polyd \
|
||||
&& (g.context.warntype.polyd & (mon)->data->mflags2)) \
|
||||
|| (g.context.warntype.species \
|
||||
&& (g.context.warntype.species == (mon)->data))))
|
||||
|
||||
#include "trap.h"
|
||||
#include "flag.h"
|
||||
|
||||
Reference in New Issue
Block a user