diff options
Diffstat (limited to 'primedev/core/convar/concommand.cpp')
-rw-r--r-- | primedev/core/convar/concommand.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/primedev/core/convar/concommand.cpp b/primedev/core/convar/concommand.cpp index 41f54c76..6e09ef91 100644 --- a/primedev/core/convar/concommand.cpp +++ b/primedev/core/convar/concommand.cpp @@ -145,6 +145,7 @@ void RegisterConCommand( ConCommand* newCommand = new ConCommand; ConCommandConstructor(newCommand, name, callback, helpString, flags, nullptr); newCommand->m_pCompletionCallback = completionCallback; + newCommand->m_nCallbackFlags |= 0x3; // seems to be correct?; derived from client.dll + 0x737267 } ON_DLL_LOAD("engine.dll", ConCommand, (CModule module)) |