From 5ff063145d409a45f61084586cabf442e839fe2e Mon Sep 17 00:00:00 2001 From: AdventureT <35010415+AdventureT@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:17:57 +0100 Subject: [PATCH] Update TDebug.cpp --- Toshi/Source/TKernel/TDebug.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Toshi/Source/TKernel/TDebug.cpp b/Toshi/Source/TKernel/TDebug.cpp index d06ea9b..b92692d 100644 --- a/Toshi/Source/TKernel/TDebug.cpp +++ b/Toshi/Source/TKernel/TDebug.cpp @@ -1,5 +1,7 @@ #include "TDebug.h" +#ifdef TOSHI_DEBUG + TOSHI_NAMESPACE_USING static TCHAR idk[30]{}; @@ -9,3 +11,5 @@ TBOOL __stdcall TDebug::AssertHandler(TPCHAR a_pcExpression, TPCHAR a_pcFile, TI TPCCHAR str = a_bUnk ? "(IGNORED)" : idk; return TBOOL(); } + +#endif