From 35696d3f9eb004ebaf45dfa1700da7ac0f92259d Mon Sep 17 00:00:00 2001 From: cat_or_not <41955154+catornot@users.noreply.github.com> Date: Thu, 30 Mar 2023 18:16:39 -0400 Subject: Bring back sq_getobject and sq_getthisentity for the client and ui vm (#428) bring sq funcs back --- NorthstarDLL/squirrel/squirrel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NorthstarDLL') diff --git a/NorthstarDLL/squirrel/squirrel.cpp b/NorthstarDLL/squirrel/squirrel.cpp index 4cf342db..21ce9ae0 100644 --- a/NorthstarDLL/squirrel/squirrel.cpp +++ b/NorthstarDLL/squirrel/squirrel.cpp @@ -679,6 +679,8 @@ ON_DLL_LOAD_RELIESON("client.dll", ClientSquirrel, ConCommand, (CModule module)) g_pSquirrel->__sq_getasset = module.Offset(0x6010).As(); g_pSquirrel->__sq_getuserdata = module.Offset(0x63D0).As(); g_pSquirrel->__sq_getvector = module.Offset(0x6140).As(); + g_pSquirrel->__sq_getthisentity = module.Offset(0x12F80).As(); + g_pSquirrel->__sq_getobject = module.Offset(0x6160).As(); g_pSquirrel->__sq_getstring = g_pSquirrel->__sq_getstring; g_pSquirrel->__sq_getinteger = g_pSquirrel->__sq_getinteger; g_pSquirrel->__sq_getfloat = g_pSquirrel->__sq_getfloat; -- cgit v1.2.3