mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-27 07:15:31 +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_hCallback = fn;
|
||||
m_hCompletionCallback = NULL;
|
||||
m_nCmdNameLen = V_strlen(name) + 1;
|
||||
|
||||
Assert( m_nCmdNameLen - 1 <= 128 );
|
||||
|
Loading…
Reference in New Issue
Block a user