2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-15 06:06:10 +00:00

CFluidPlaneManager: Make use of std::array where applicable

Eliminates any potential implicit array to pointer decay.
This commit is contained in:
Lioncash
2020-04-12 09:03:28 -04:00
parent 2069694b59
commit 3c8619ba44
2 changed files with 27 additions and 22 deletions

View File

@@ -44,9 +44,9 @@ class CFluidPlaneManager {
static void SetupRippleMap();
public:
static u8 RippleValues[64][64];
static u8 RippleMins[64];
static u8 RippleMaxs[64];
static std::array<std::array<u8, 64>, 64> RippleValues;
static std::array<u8, 64> RippleMins;
static std::array<u8, 64> RippleMaxs;
static boo::ObjToken<boo::ITextureS> RippleMapTex;
CFluidPlaneManager();