mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-13 15:27:56 +03:00
Forgot to reflect CUserCmd VScript change in player.cpp
This commit is contained in:
parent
5998158ac2
commit
394501826c
@ -3831,7 +3831,7 @@ void CBasePlayer::PlayerRunCommand(CUserCmd *ucmd, IMoveHelper *moveHelper)
|
|||||||
// Movement hook for VScript
|
// Movement hook for VScript
|
||||||
if (m_ScriptScope.IsInitialized() && g_Hook_PlayerRunCommand.CanRunInScope(m_ScriptScope))
|
if (m_ScriptScope.IsInitialized() && g_Hook_PlayerRunCommand.CanRunInScope(m_ScriptScope))
|
||||||
{
|
{
|
||||||
HSCRIPT hCmd = g_pScriptVM->RegisterInstance( ucmd );
|
HSCRIPT hCmd = g_pScriptVM->RegisterInstance( reinterpret_cast<CScriptUserCmd*>(ucmd) );
|
||||||
|
|
||||||
// command
|
// command
|
||||||
ScriptVariant_t args[] = { hCmd };
|
ScriptVariant_t args[] = { hCmd };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user