mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
CAuxWeapon: Make skComboNames contain std::string_view instances
Removes unnecessary runtime strlen calls.
This commit is contained in:
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user