mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Please -WError
This commit is contained in:
parent
69d78c21b4
commit
ffa07d88cb
|
@ -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); \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue