mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
refactor: promote static const arrays to constexpr across audio/core/rendering
audio: birdPaths, cricketPaths, races core/application: componentDirs (4 instances), compDirs rendering/character_preview: componentDirs rendering/character_renderer: regionCoords256, regionSizes256
This commit is contained in:
parent
d6769172d1
commit
c762688202
5 changed files with 10 additions and 10 deletions
|
|
@ -355,7 +355,7 @@ void ActivitySoundManager::setCharacterVoiceProfile(const std::string& modelName
|
|||
std::string base = "Human";
|
||||
|
||||
struct RaceMap { const char* token; const char* folder; const char* base; };
|
||||
static const RaceMap races[] = {
|
||||
static constexpr RaceMap races[] = {
|
||||
{"human", "Human", "Human"},
|
||||
{"orc", "Orc", "Orc"},
|
||||
{"dwarf", "Dwarf", "Dwarf"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue