From bc21fd800295497b28191ac5d63841a4025eb56e Mon Sep 17 00:00:00 2001 From: BobTheBob Date: Wed, 22 Feb 2023 15:38:31 +0000 Subject: change func name --- NorthstarDLL/core/hooks.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NorthstarDLL/core/hooks.h b/NorthstarDLL/core/hooks.h index 1e8f23f2..205b6079 100644 --- a/NorthstarDLL/core/hooks.h +++ b/NorthstarDLL/core/hooks.h @@ -323,8 +323,8 @@ class __autovar } // int* g_pSomeInt; -// PREDEFINED_VAR_AT(engine.dll + 0x5005, g_pSomeInt) -#define PREDEFINED_VAR_AT(addrString, name) \ +// DEFINED_VAR_AT(engine.dll + 0x5005, g_pSomeInt) +#define DEFINED_VAR_AT(addrString, name) \ namespace \ { \ __autovar CONCAT2(__autovar, __LINE__)(&__FILEAUTOHOOK, __STR(addrString), (void**)&name); \ -- cgit v1.2.3