1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-10 08:23:22 +00:00

Fixes for Linux

- fixed warning about PlaySfx::handle
- fixed displaying subtitles - if the path was not full lowercase it didn't find its txt files.
- CMake: removed SDLMAIN_FOUND, which is seemingly only defined on windows and does more harm than good.
- glpng: always use new libpng API (fixes windows build)
This commit is contained in:
fgenesis 2012-01-10 19:34:31 +01:00
commit 1ab32b585f
4 changed files with 8 additions and 16 deletions

View file

@ -46,7 +46,7 @@ void SubtitlePlayer::go(const std::string &subs)
if (dsq->mod.isActive())
{
f = dsq->mod.getPath() + "audio/" + subs + ".txt";
stringToLower(f);
f = core->adjustFilenameCase(f);
if (exists(f))
checkAfter = false;
}
@ -54,7 +54,7 @@ void SubtitlePlayer::go(const std::string &subs)
if (checkAfter)
{
f = "scripts/vox/" + subs + ".txt";
stringToLower(f);
f = core->adjustFilenameCase(f);
if (!exists(f))
{
debugLog("Could not find subs file [" + subs + "]");