mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-14 15:57:59 +03:00
Fixed a crash related to VScript custom console commands
This commit is contained in:
parent
c7657b1547
commit
36a459d21c
@ -2176,6 +2176,7 @@ public:
|
|||||||
{
|
{
|
||||||
m_cmd = new ConCommand( name, this, helpString, flags, 0 );
|
m_cmd = new ConCommand( name, this, helpString, flags, 0 );
|
||||||
m_hCallback = fn;
|
m_hCallback = fn;
|
||||||
|
m_hCompletionCallback = NULL;
|
||||||
m_nCmdNameLen = V_strlen(name) + 1;
|
m_nCmdNameLen = V_strlen(name) + 1;
|
||||||
|
|
||||||
Assert( m_nCmdNameLen - 1 <= 128 );
|
Assert( m_nCmdNameLen - 1 <= 128 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user