mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-04 13:27:14 +00:00
Fix particle & shot loading on linux (fix file name case)
This commit is contained in:
parent
4891fcc339
commit
bd9648aa60
3 changed files with 8 additions and 5 deletions
|
@ -555,8 +555,8 @@ void forEachFile(std::string path, std::string type, void callback(const std::st
|
|||
{
|
||||
if (path.empty()) return;
|
||||
|
||||
stringToLowerUserData(path);
|
||||
stringToLower(type);
|
||||
path = core->adjustFilenameCase(path);
|
||||
stringToLower(type);
|
||||
//HACK: MAC:
|
||||
debugLog("forEachFile - path: " + path + " type: " + type);
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ void ParticleEffect::bankLoad(const std::string &file, const std::string &path)
|
|||
|
||||
clearEmitters();
|
||||
|
||||
usef = core->adjustFilenameCase(usef);
|
||||
debugLog(usef);
|
||||
char *buffer = readFile(usef);
|
||||
if (!buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue