ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:notflag

This is an old revision of the document!


Table of Contents

notflag

bool notflag(int allflags, int flag)

Description

Returns true if the given flag is not set in allflags. Shorthand for !(allflags & flag).

Examples

if (notflag(flags, FLAG_NOSOMETHING))
{
    DoSomething();
    ...
}
functions/notflag.1500125619.txt.gz · Last modified: 2017/07/15 16:33 by korshun