aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/squirrel.cpp
diff options
context:
space:
mode:
authorMaya <malte.hoermeyer@web.de>2022-07-22 00:56:44 +0200
committerGitHub <noreply@github.com>2022-07-22 00:56:44 +0200
commit286cea5f6280e568f5cb4c953d93993c98625ce4 (patch)
tree130245c6574890e16a5443f8b3d6e2f6b1f5abc1 /NorthstarDedicatedTest/squirrel.cpp
parent938d89713eb055340b5e8866de3000b61e4a0f13 (diff)
downloadNorthstarLauncher-286cea5f6280e568f5cb4c953d93993c98625ce4.tar.gz
NorthstarLauncher-286cea5f6280e568f5cb4c953d93993c98625ce4.zip
Fix using wrong Function and wrong function offset (#222)
Diffstat (limited to 'NorthstarDedicatedTest/squirrel.cpp')
-rw-r--r--NorthstarDedicatedTest/squirrel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/squirrel.cpp b/NorthstarDedicatedTest/squirrel.cpp
index 4d305ee2..502afba0 100644
--- a/NorthstarDedicatedTest/squirrel.cpp
+++ b/NorthstarDedicatedTest/squirrel.cpp
@@ -160,7 +160,7 @@ void InitialiseClientSquirrel(HMODULE baseAddress)
ClientSq_defconst = (sq_defconst)((char*)baseAddress + 0x12120);
// Table functions
- ClientSq_newTable = (sq_newTableType)((char*)baseAddress + 0x5940);
+ ClientSq_newTable = (sq_newTableType)((char*)baseAddress + 0x3960);
ClientSq_newSlot = (sq_newSlotType)((char*)baseAddress + 0x70B0);
ENABLER_CREATEHOOK(