mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Hook sq_pushroottable as well
This commit is contained in:
parent
79f99970c6
commit
42ef6ef228
@ -84,6 +84,7 @@ SQRESULT sq_call(HSQUIRRELVM v, SQInteger params, SQBool retval, SQBool raiseerr
|
||||
|
||||
void SQAPI_Attach()
|
||||
{
|
||||
DetourAttach((LPVOID*)&v_sq_pushroottable, &sq_pushroottable);
|
||||
DetourAttach((LPVOID*)&v_sq_pushbool, &sq_pushbool);
|
||||
DetourAttach((LPVOID*)&v_sq_pushstring, &sq_pushstring);
|
||||
DetourAttach((LPVOID*)&v_sq_pushinteger, &sq_pushinteger);
|
||||
@ -99,6 +100,7 @@ void SQAPI_Attach()
|
||||
|
||||
void SQAPI_Detach()
|
||||
{
|
||||
DetourDetach((LPVOID*)&v_sq_pushroottable, &sq_pushroottable);
|
||||
DetourDetach((LPVOID*)&v_sq_pushbool, &sq_pushbool);
|
||||
DetourDetach((LPVOID*)&v_sq_pushstring, &sq_pushstring);
|
||||
DetourDetach((LPVOID*)&v_sq_pushinteger, &sq_pushinteger);
|
||||
|
Loading…
x
Reference in New Issue
Block a user