aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest')
-rw-r--r--NorthstarDedicatedTest/scriptjson.cpp2
-rw-r--r--NorthstarDedicatedTest/squirrel.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/scriptjson.cpp b/NorthstarDedicatedTest/scriptjson.cpp
index 220f4968..1921a429 100644
--- a/NorthstarDedicatedTest/scriptjson.cpp
+++ b/NorthstarDedicatedTest/scriptjson.cpp
@@ -245,7 +245,7 @@ SQRESULT ClientSq_DecodeJSON(void* sqvm)
ClientSq_newTable(sqvm);
return SQRESULT_NOTNULL;
}
- ServerSq_newTable(sqvm);
+ ClientSq_newTable(sqvm);
for (int i = 0; i < doc.MemberCount(); i++)
{
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(