mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-03-04 01:35:26 +03:00
Fix spacing from previous commit
This commit is contained in:
parent
8576fb1d64
commit
511ad2e6ef
@ -1465,13 +1465,13 @@ SQInteger function_stub(HSQUIRRELVM vm)
|
|||||||
PushVariant(vm, script_retval);
|
PushVariant(vm, script_retval);
|
||||||
|
|
||||||
if ( ( pFunc->m_flags & SF_REFCOUNTED_RET ) && script_retval.m_hScript )
|
if ( ( pFunc->m_flags & SF_REFCOUNTED_RET ) && script_retval.m_hScript )
|
||||||
{
|
{
|
||||||
Assert( script_retval.m_type == FIELD_HSCRIPT );
|
Assert( script_retval.m_type == FIELD_HSCRIPT );
|
||||||
|
|
||||||
// Release the intermediary ref held from RegisterInstance
|
// Release the intermediary ref held from RegisterInstance
|
||||||
sq_release(vm, (HSQOBJECT*)script_retval.m_hScript);
|
sq_release(vm, (HSQOBJECT*)script_retval.m_hScript);
|
||||||
delete (HSQOBJECT*)script_retval.m_hScript;
|
delete (HSQOBJECT*)script_retval.m_hScript;
|
||||||
}
|
}
|
||||||
|
|
||||||
sq_retval = 1;
|
sq_retval = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user