CWorldTransManager: Make use of std::array where applicable

Provides stronger typing, and eliminates any potential implicit array to
pointer decay.
This commit is contained in:
Lioncash 2020-04-11 19:50:47 -04:00
parent 54dededb9b
commit e72507b20c
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#pragma once
#include <array>
#include <memory>
#include <vector>
@ -31,7 +32,7 @@ public:
CModelData x1c_samusModelData;
CModelData x68_beamModelData;
CModelData xb4_platformModelData;
CModelData x100_bgModelData[3];
std::array<CModelData, 3> x100_bgModelData;
TLockedToken<CModel> x14c_beamModel;
TLockedToken<CModel> x158_suitModel;
TLockedToken<CSkinRules> x164_suitSkin;