From ce14df0c77289905ef44e2919c3cfd8098d24445 Mon Sep 17 00:00:00 2001 From: Vincent Herbet Date: Sat, 25 Aug 2018 09:18:51 +0200 Subject: [PATCH] CStrike: Fix a missing RemoveEntityHashValue function address check (#519) --- modules/cstrike/cstrike/CstrikeHacks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cstrike/cstrike/CstrikeHacks.cpp b/modules/cstrike/cstrike/CstrikeHacks.cpp index 562c6a34..2e0f27ad 100644 --- a/modules/cstrike/cstrike/CstrikeHacks.cpp +++ b/modules/cstrike/cstrike/CstrikeHacks.cpp @@ -721,9 +721,9 @@ void InitFuncsAddresses() MF_Log("UTIL_FindEntByString is not available - native cs_find_ent_by_class() has been disabled"); } - if (!AddEntityHashValue || !AddEntityHashValue) + if (!AddEntityHashValue || !RemoveEntityHashValue) { - MF_Log("AddEntityHashValue or AddEntityHashValue is not available - native cs_set_ent_class() has been disabled"); + MF_Log("AddEntityHashValue or RemoveEntityHashValue is not available - native cs_set_ent_class() has been disabled"); } if (!HasReGameDll && !GetWeaponInfo)