mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Add speech MPQ archives for NPC voices
Loads speech-enUS.MPQ, expansion-speech-enUS.MPQ, and lichking-speech-enUS.MPQ which contain NPC voice/creature sound files. These MPQs were present but not being loaded, causing all .ogg NPC greeting sounds to show as NOT FOUND.
This commit is contained in:
parent
838b82e503
commit
c3c6ffeedb
1 changed files with 4 additions and 1 deletions
|
|
@ -332,9 +332,12 @@ bool MPQManager::loadLocaleArchives(const std::string& locale) {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Locale-specific archives
|
||||
// Locale-specific archives (including speech MPQs for NPC voices)
|
||||
std::vector<std::pair<std::string, int>> localeArchives = {
|
||||
{"locale-" + locale + ".MPQ", 250},
|
||||
{"speech-" + locale + ".MPQ", 240}, // Base speech/NPC voices
|
||||
{"expansion-speech-" + locale + ".MPQ", 245}, // TBC speech
|
||||
{"lichking-speech-" + locale + ".MPQ", 248}, // WotLK speech
|
||||
{"patch-" + locale + ".MPQ", 450},
|
||||
{"patch-" + locale + "-2.MPQ", 460},
|
||||
{"patch-" + locale + "-3.MPQ", 470},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue