From 4f56bf8eb6eb500d297c1c2c01e5a3929dda55c4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 26 Apr 2020 03:20:32 -0400 Subject: [PATCH] CWallWalker: Simplify CCollisionSurface initializer Allows it to sit on one line. --- Runtime/World/CWallWalker.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/World/CWallWalker.hpp b/Runtime/World/CWallWalker.hpp index d82ab00f8..0e381efaf 100644 --- a/Runtime/World/CWallWalker.hpp +++ b/Runtime/World/CWallWalker.hpp @@ -15,8 +15,7 @@ public: enum class EWalkerType { Parasite = 0, Oculus = 1, Geemer = 2, IceZoomer = 3, Seedling = 4 }; protected: - CCollisionSurface x568_alignNormal = - CCollisionSurface(zeus::CVector3f(), zeus::skForward, zeus::skRight, -1); + CCollisionSurface x568_alignNormal{zeus::CVector3f(), zeus::skForward, zeus::skRight, -1}; CCollidableSphere x590_colSphere; float x5b0_collisionCloseMargin; float x5b4_alignAngVel;