From 363386cbd99604e19bb4f55be7633ae25f2506cc Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 8 Mar 2020 23:39:55 -0400 Subject: [PATCH] CBallCamera: Collapse identical switch cases within AvoidGeometry() Same behavior, but less code. This is identical in behavior to the code within the GM8E v0 binary. --- Runtime/Camera/CBallCamera.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Runtime/Camera/CBallCamera.cpp b/Runtime/Camera/CBallCamera.cpp index ac4fff054..0b51e809f 100644 --- a/Runtime/Camera/CBallCamera.cpp +++ b/Runtime/Camera/CBallCamera.cpp @@ -1004,8 +1004,6 @@ zeus::CVector3f CBallCamera::AvoidGeometry(const zeus::CTransform& xf, UpdateColliders(xf, x274_mediumColliders, x2d4_mediumColliderIt, 3, 4.f, nearList, dt, mgr); break; case 2: - UpdateColliders(xf, x284_largeColliders, x2d8_largeColliderIt, 4, 4.f, nearList, dt, mgr); - break; case 3: UpdateColliders(xf, x284_largeColliders, x2d8_largeColliderIt, 4, 4.f, nearList, dt, mgr); break;