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
1 changed files with 1 additions and 1 deletions

View File

@ -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{