Browse Source

engine: common: cvar: remove unused CVAR_TO_BOOL macro

pull/2/head
Alibek Omarov 2 years ago
parent
commit
7fd1534753
  1. 2
      engine/common/cvar.h

2
engine/common/cvar.h

@ -56,8 +56,6 @@ typedef struct convar_s
#define CVAR_DEFINE_AUTO( cv, cvstr, cvflags, cvdesc ) \ #define CVAR_DEFINE_AUTO( cv, cvstr, cvflags, cvdesc ) \
CVAR_DEFINE( cv, #cv, cvstr, cvflags, cvdesc ) CVAR_DEFINE( cv, #cv, cvstr, cvflags, cvdesc )
#define CVAR_TO_BOOL( x ) ((x) && ((x)->value != 0.0f) ? true : false )
#ifndef REF_DLL #ifndef REF_DLL
cvar_t *Cvar_GetList( void ); cvar_t *Cvar_GetList( void );
#define Cvar_FindVar( name ) Cvar_FindVarExt( name, 0 ) #define Cvar_FindVar( name ) Cvar_FindVarExt( name, 0 )

Loading…
Cancel
Save