UE5 compatibility on DrawWireCapsule

This commit is contained in:
Steve Streeting 2022-09-15 17:28:53 +01:00
parent e810f2509e
commit b7596fb71a

View File

@ -49,7 +49,11 @@ void FStevesDebugRenderSceneProxy::GetDynamicMeshElements(const TArray<const FSc
for (const auto& C : CapsulesImproved)
{
::DrawWireCapsule(PDI,
#if ENGINE_MAJOR_VERSION >= 5
C.Base,
#else
C.Location,
#endif
C.X,
C.Y,
C.Z,