From 2f16f2139cfa2a098be9e23ff76c0ec82b4a6cce Mon Sep 17 00:00:00 2001 From: 0TheSpy <5511c282@opayq.com> Date: Sat, 29 Oct 2022 19:06:32 +0300 Subject: [PATCH] Update netvars.cpp --- SpyCustom/netvars.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/SpyCustom/netvars.cpp b/SpyCustom/netvars.cpp index c404600..edb4c17 100644 --- a/SpyCustom/netvars.cpp +++ b/SpyCustom/netvars.cpp @@ -31,15 +31,12 @@ int NetvarSys::GetOffset(const char* tableName, const char* propName) { int offset = this->GetProp(tableName, propName); if (!offset) - { -#ifdef DEBUG - printf("%s not found!\n", propName); -#endif + { + printfdbg("%s not found!\n", propName); return 0; } -#ifdef DEBUG - printf("%s: 0x%02X\n", propName, offset); -#endif + printfdbg("%s: 0x%02X\n", propName, offset); + return offset; }