aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/server/alltalk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/server/alltalk.cpp')
-rw-r--r--NorthstarDLL/server/alltalk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/server/alltalk.cpp b/NorthstarDLL/server/alltalk.cpp
index 6283a1a2..d71b0bae 100644
--- a/NorthstarDLL/server/alltalk.cpp
+++ b/NorthstarDLL/server/alltalk.cpp
@@ -15,7 +15,7 @@ size_t __fastcall ShouldAllowAlltalk()
ON_DLL_LOAD_RELIESON("engine.dll", ServerAllTalk, ConVar, (CModule module))
{
// replace strcmp function called in CClient::ProcessVoiceData with our own code that calls ShouldAllowAllTalk
- MemoryAddress base = module.Offset(0x1085FA);
+ CMemoryAddress base = module.Offset(0x1085FA);
base.Patch("48 B8"); // mov rax, 64 bit int
// (uint8_t*)&ShouldAllowAlltalk doesn't work for some reason? need to make it a uint64 first