From 414c06b33e831846fb13634f11dfddeb80166c5d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 12 Apr 2020 21:07:15 -0400 Subject: [PATCH] CScriptDebris: Make use of std::array Same behavior, stronger typing. --- Runtime/World/CScriptDebris.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/World/CScriptDebris.hpp b/Runtime/World/CScriptDebris.hpp index 3fe94ac1a..da4824e1f 100644 --- a/Runtime/World/CScriptDebris.hpp +++ b/Runtime/World/CScriptDebris.hpp @@ -1,5 +1,6 @@ #pragma once +#include #include #include @@ -50,7 +51,7 @@ private: zeus::CVector3f x2b0_scale; zeus::CVector3f x2bc_endScale; zeus::CVector3f x2c8_collisionNormal; - std::unique_ptr x2d4_particleGens[3]; /* x2d4, x2d8, x2dc */ + std::array, 3> x2d4_particleGens; /* x2d4, x2d8, x2dc */ TReservedAverage x2e0_speedAvg; public: