From 535717fbd8771d4469e7dab4350f442edb4aeaf3 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 22 Apr 2020 02:19:14 -0400 Subject: [PATCH] CGameArea: Make use of std::array where applicable --- Runtime/World/CGameArea.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Runtime/World/CGameArea.hpp b/Runtime/World/CGameArea.hpp index cde3532ec..c0a92bc5f 100644 --- a/Runtime/World/CGameArea.hpp +++ b/Runtime/World/CGameArea.hpp @@ -1,5 +1,7 @@ #pragma once +#include + #include "Editor/ProjectResourceFactoryBase.hpp" #include "Runtime/CObjectList.hpp" #include "Runtime/CToken.hpp" @@ -210,7 +212,8 @@ public: struct MapEntry { s16 x0_id = -1; TUniqueId x4_uid = kInvalidUniqueId; - } xa8_pvsEntityMap[1024]; + }; + std::array xa8_pvsEntityMap; u32 x10a8_pvsVersion = 0; TLockedToken x10ac_pathToken; // bool x10b8_ = 0; optional flag for CToken