From 4fc87866eec93168d9b1980d1935f3a55f660a2b Mon Sep 17 00:00:00 2001 From: Diren D Bharwani Date: Fri, 28 Oct 2022 14:23:11 +0800 Subject: [PATCH] Fixed compilation error --- SHADE_Managed/src/Components/Collider.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SHADE_Managed/src/Components/Collider.cxx b/SHADE_Managed/src/Components/Collider.cxx index 6d2c2f01..6768ad1c 100644 --- a/SHADE_Managed/src/Components/Collider.cxx +++ b/SHADE_Managed/src/Components/Collider.cxx @@ -233,7 +233,7 @@ namespace SHADE for (const auto& collider : GetNativeComponent()->GetColliders()) { ColliderBound^ bound = nullptr; - switch (collider.first.GetType()) + switch (collider.GetType()) { case SHCollider::Type::BOX: bound = gcnew BoxColliderBound(i, Owner.GetEntity());