diff --git a/src/engine/shared/console.cpp b/src/engine/shared/console.cpp index 2d1b17d8c..deb8b02b7 100644 --- a/src/engine/shared/console.cpp +++ b/src/engine/shared/console.cpp @@ -1026,7 +1026,7 @@ void CConsole::Init() { \ static CIntVariableData Data = {this, &g_Config.m_##Name, Min, Max, Def}; \ Register(#ScriptName, "?i", Flags, IntVariableCommand, &Data, \ - Max == 0 ? Desc " (default: " #Def ", min: " #Min ")" : Desc " (default: " #Def ", min: " #Min ", max: " #Max ")"); \ + Min == Max ? Desc " (default: " #Def ")" : Max == 0 ? Desc " (default: " #Def ", min: " #Min ")" : Desc " (default: " #Def ", min: " #Min ", max: " #Max ")"); \ } #define MACRO_CONFIG_COL(Name, ScriptName, Def, Flags, Desc) \