mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-04 21:34:41 +00:00
_mods/x/locales/y/* now works
This commit is contained in:
parent
e8872b09e5
commit
636c069403
5 changed files with 29 additions and 7 deletions
|
@ -927,7 +927,7 @@ bool SoundManager::playVoice(const std::string &name, SoundVoiceType svt, float
|
|||
if (!voicePath2.empty())
|
||||
{
|
||||
fn = voicePath2 + name + fileType;
|
||||
fn = localisePath(fn);
|
||||
fn = localisePathInternalModpath(fn);
|
||||
fn = core->adjustFilenameCase(fn);
|
||||
if (exists(fn)) checkOther = false;
|
||||
}
|
||||
|
@ -1524,7 +1524,7 @@ Buffer SoundManager::loadSoundIntoBank(const std::string &filename, const std::s
|
|||
if (slt == SFXLOAD_LOCAL && !audioPath2.empty())
|
||||
{
|
||||
f = audioPath2 + filename + format;
|
||||
f = localisePath(f);
|
||||
f = localisePathInternalModpath(f);
|
||||
f = core->adjustFilenameCase(f);
|
||||
if (!exists(f))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue