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

CSfxManager: Make use of std::array where applicable

Same behavior, but with stronger typing.
This commit is contained in:
Lioncash
2020-04-07 12:47:55 -04:00
parent d677d2ac1d
commit 2ab59eec52
2 changed files with 27 additions and 22 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <array>
#include <memory>
#include <unordered_set>
#include <vector>
@@ -177,7 +178,7 @@ public:
}
};
static CSfxChannel m_channels[4];
static std::array<CSfxChannel, 4> m_channels;
static ESfxChannels m_currentChannel;
static bool m_doUpdate;
static void* m_usedSounds;