From b05460da424b223f963df56d71b0615b7bb29976 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Fri, 18 Dec 2020 06:08:54 -0500 Subject: [PATCH] CStateManager: Move collision debug drawing into NDEBUG condition --- Runtime/CStateManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/CStateManager.cpp b/Runtime/CStateManager.cpp index 714dfa91f..82f7e854a 100644 --- a/Runtime/CStateManager.cpp +++ b/Runtime/CStateManager.cpp @@ -561,7 +561,6 @@ void CStateManager::DrawDebugStuff() const { if (xf70_currentMaze) { xf70_currentMaze->DebugRender(); } -#endif for (CEntity* ent : GetActorObjectList()) { if (const TCastToPtr colAct = ent) { @@ -571,6 +570,7 @@ void CStateManager::DrawDebugStuff() const { colAct->DebugDraw(); } } +#endif } void CStateManager::RenderCamerasAndAreaLights() {