mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-07-27 07:31:49 +03:00
fxp streaml
This commit is contained in:
parent
ca7bc5da57
commit
9c494b6eeb
@ -1332,15 +1332,10 @@ SQInteger function_stub(HSQUIRRELVM vm)
|
||||
{
|
||||
SQInteger top = sq_gettop(vm);
|
||||
|
||||
SQUserPointer userptr = nullptr;
|
||||
if (SQ_FAILED(sq_getuserpointer(vm, top, &userptr)))
|
||||
{
|
||||
return sq_throwerror(vm, "Expected userpointer");
|
||||
}
|
||||
ScriptFunctionBinding_t* pFunc = nullptr;
|
||||
sq_getuserpointer(vm, top, (SQUserPointer*)&pFunc);
|
||||
|
||||
Assert(userptr);
|
||||
|
||||
ScriptFunctionBinding_t* pFunc = (ScriptFunctionBinding_t*)userptr;
|
||||
Assert(pFunc);
|
||||
|
||||
int nargs = pFunc->m_desc.m_Parameters.Count();
|
||||
int nLastHScriptIdx = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user