From e1e317ee526e2ab5294f42d6345262f46f1198b2 Mon Sep 17 00:00:00 2001 From: oreguys-common Date: Wed, 10 Jul 2024 11:28:56 +0900 Subject: [PATCH] Update CogDebug.cpp Fix unreachable code error C4702 for UE5.4 --- Plugins/Cog/Source/CogDebug/Private/CogDebug.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Plugins/Cog/Source/CogDebug/Private/CogDebug.cpp b/Plugins/Cog/Source/CogDebug/Private/CogDebug.cpp index f64dfd3..c47ed41 100644 --- a/Plugins/Cog/Source/CogDebug/Private/CogDebug.cpp +++ b/Plugins/Cog/Source/CogDebug/Private/CogDebug.cpp @@ -83,8 +83,6 @@ bool FCogDebug::IsDebugActiveForObject_Internal(const UObject* WorldContextObjec Outer = NewOuter; } - - return true; } //-------------------------------------------------------------------------------------------------------------------------- @@ -338,4 +336,4 @@ void FCogDebug::GetDebugDrawSweepSettings(FCogDebugDrawSweepParams& Params) GetDebugDrawLineTraceSettings(Params); Params.DrawHitShapes = Settings.CollisionQueryDrawHitShapes; -} \ No newline at end of file +}