2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-15 02:31:20 +00:00

CAuxWeapon: Make skComboNames contain std::string_view instances

Removes unnecessary runtime strlen calls.
This commit is contained in:
Lioncash 2020-05-08 17:01:46 -04:00
parent a0c4b6b3ec
commit fef9e6ff2d

View File

@ -24,7 +24,7 @@ constexpr CCameraShakeData skHardShake{
};
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{