From 3a4ce7cf029d29cad3c396d9147490709f9907c7 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 13 May 2023 18:04:30 +0200 Subject: [PATCH] Comment unused function pointer (NULL on dedi) Not getting used anywhere, and was NULL on dedi. --- r5dev/common/netmessages.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/r5dev/common/netmessages.h b/r5dev/common/netmessages.h index e418f36d..f6969270 100644 --- a/r5dev/common/netmessages.h +++ b/r5dev/common/netmessages.h @@ -27,7 +27,7 @@ class Base_CmdKeyValues; //------------------------------------------------------------------------- // MM_HEARTBEAT //------------------------------------------------------------------------- -inline CMemory MM_Heartbeat__ToString; // server HeartBeat? (baseserver.cpp). +//inline CMemory MM_Heartbeat__ToString; // server HeartBeat? (baseserver.cpp). //------------------------------------------------------------------------- // SVC_Print @@ -315,11 +315,11 @@ class V_NetMessages : public IDetour LogConAdr("SVC_ServerTick::`vftable'", reinterpret_cast(g_pSVC_ServerTick_VFTable)); LogConAdr("SVC_VoiceData::`vftable'", reinterpret_cast(g_pSVC_VoiceData_VFTable)); LogConAdr("Base_CmdKeyValues::`vftable'", reinterpret_cast(g_pBase_CmdKeyValues_VFTable)); - LogFunAdr("MM_Heartbeat::ToString", MM_Heartbeat__ToString.GetPtr()); + //LogFunAdr("MM_Heartbeat::ToString", MM_Heartbeat__ToString.GetPtr()); } virtual void GetFun(void) const { - MM_Heartbeat__ToString = g_GameDll.FindPatternSIMD("48 83 EC 38 E8 ?? ?? ?? ?? 3B 05 ?? ?? ?? ??"); + //MM_Heartbeat__ToString = g_GameDll.FindPatternSIMD("48 83 EC 38 E8 ?? ?? ?? ?? 3B 05 ?? ?? ?? ??"); // 48 83 EC 38 E8 ? ? ? ? 3B 05 ? ? ? ? } virtual void GetVar(void) const { }