mirror of https://github.com/AxioDL/metaforce.git
CAuxWeapon: Make skComboNames contain std::string_view instances
Removes unnecessary runtime strlen calls.
This commit is contained in:
parent
a0c4b6b3ec
commit
fef9e6ff2d
|
@ -24,7 +24,7 @@ constexpr CCameraShakeData skHardShake{
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr std::array skComboNames{
|
constexpr std::array skComboNames{
|
||||||
"SuperMissile", "IceCombo", "WaveBuster", "FlameThrower", "SuperMissile",
|
"SuperMissile"sv, "IceCombo"sv, "WaveBuster"sv, "FlameThrower"sv, "SuperMissile"sv,
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr std::array<u16, 5> skSoundId{
|
constexpr std::array<u16, 5> skSoundId{
|
||||||
|
|
Loading…
Reference in New Issue