1
0
Fork 0
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:
fgenesis 2012-07-14 15:00:37 +02:00
commit 636c069403
5 changed files with 29 additions and 7 deletions

View file

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