From e72507b20cc694f2efaee56ee3b271828079ba6e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 11 Apr 2020 19:50:47 -0400 Subject: [PATCH] CWorldTransManager: Make use of std::array where applicable Provides stronger typing, and eliminates any potential implicit array to pointer decay. --- Runtime/World/CWorldTransManager.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/World/CWorldTransManager.hpp b/Runtime/World/CWorldTransManager.hpp index 92f09bed9..02567d3c8 100644 --- a/Runtime/World/CWorldTransManager.hpp +++ b/Runtime/World/CWorldTransManager.hpp @@ -1,5 +1,6 @@ #pragma once +#include #include #include @@ -31,7 +32,7 @@ public: CModelData x1c_samusModelData; CModelData x68_beamModelData; CModelData xb4_platformModelData; - CModelData x100_bgModelData[3]; + std::array x100_bgModelData; TLockedToken x14c_beamModel; TLockedToken x158_suitModel; TLockedToken x164_suitSkin;