mirror of
https://github.com/celisej567/BCWSsrc.git
synced 2026-09-09 20:23:06 +03:00
Fixed a crash related to VScript custom console commands
This commit is contained in:
@@ -2176,6 +2176,7 @@ public:
|
||||
{
|
||||
m_cmd = new ConCommand( name, this, helpString, flags, 0 );
|
||||
m_hCallback = fn;
|
||||
m_hCompletionCallback = NULL;
|
||||
m_nCmdNameLen = V_strlen(name) + 1;
|
||||
|
||||
Assert( m_nCmdNameLen - 1 <= 128 );
|
||||
|
||||
Reference in New Issue
Block a user