An ACS library for ZDoom-based ports
bool notflag(int allflags, int flag)
Returns true if the given flag is not set in allflags. Shorthand for !(allflags & flag).
allflags
!(allflags & flag)
if (notflag(flags, FLAG_NOSOMETHING)) { DoSomething(); ... }