Merge pull request #144 from lioncash/blood-const

CBloodFlower: Mark sFireEffects as constexpr
This commit is contained in:
Phillip Stephens 2020-02-03 14:45:02 -08:00 committed by GitHub
commit 67e4c2e135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#include "Runtime/MP1/World/CBloodFlower.hpp"
#include <array>
#include "Runtime/CSimplePool.hpp"
#include "Runtime/CStateManager.hpp"
#include "Runtime/GameGlobalObjects.hpp"
@ -73,7 +75,7 @@ void CBloodFlower::UpdateFire(CStateManager& mgr) {
++x5d8_effectState;
}
static std::string_view sFireEffects[3] = {
constexpr std::array sFireEffects{
"Fire1"sv,
"Fire2"sv,
"Fire3"sv,