Please -WError

This commit is contained in:
Learath 2019-04-26 19:11:34 +03:00
parent 69d78c21b4
commit ffa07d88cb

View file

@ -944,7 +944,7 @@ CConsole::CConsole(int FlagMask)
#define MACRO_CONFIG_COL(Name,ScriptName,Def,Min,Max,Flags,Desc) \
{ \
static CColVariableData Data = { static_cast<bool>(Flags & CFGFLAG_COLLIGHT), this, &g_Config.m_##Name, Min, Max, Def }; \
static CColVariableData Data = { static_cast<bool>((Flags) & CFGFLAG_COLLIGHT), this, &g_Config.m_##Name, Min, Max, Def }; \
Register(#ScriptName, "?i", Flags, ColVariableCommand, &Data, Desc); \
}