mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-03 07:55:52 +00:00
Merge pull request #144 from lioncash/blood-const
CBloodFlower: Mark sFireEffects as constexpr
This commit is contained in:
commit
67e4c2e135
@ -1,5 +1,7 @@
|
|||||||
#include "Runtime/MP1/World/CBloodFlower.hpp"
|
#include "Runtime/MP1/World/CBloodFlower.hpp"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#include "Runtime/CSimplePool.hpp"
|
#include "Runtime/CSimplePool.hpp"
|
||||||
#include "Runtime/CStateManager.hpp"
|
#include "Runtime/CStateManager.hpp"
|
||||||
#include "Runtime/GameGlobalObjects.hpp"
|
#include "Runtime/GameGlobalObjects.hpp"
|
||||||
@ -73,7 +75,7 @@ void CBloodFlower::UpdateFire(CStateManager& mgr) {
|
|||||||
++x5d8_effectState;
|
++x5d8_effectState;
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::string_view sFireEffects[3] = {
|
constexpr std::array sFireEffects{
|
||||||
"Fire1"sv,
|
"Fire1"sv,
|
||||||
"Fire2"sv,
|
"Fire2"sv,
|
||||||
"Fire3"sv,
|
"Fire3"sv,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user