mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-04 15:04:36 +00:00
More filename case fixes for linux (skeletal + skin)
This commit is contained in:
parent
77c9b86235
commit
fdce574cc5
1 changed files with 3 additions and 1 deletions
|
@ -1169,7 +1169,7 @@ void SkeletalSprite::loadSkin(const std::string &fn)
|
||||||
file = animationPath + skinPath + fn + ".xml";
|
file = animationPath + skinPath + fn + ".xml";
|
||||||
}
|
}
|
||||||
|
|
||||||
stringToLower(file);
|
file = core->adjustFilenameCase(file);
|
||||||
|
|
||||||
if (!exists(file,1))
|
if (!exists(file,1))
|
||||||
{
|
{
|
||||||
|
@ -1306,6 +1306,8 @@ void SkeletalSprite::loadSkeletal(const std::string &fn)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file = core->adjustFilenameCase(file);
|
||||||
|
|
||||||
loaded = true;
|
loaded = true;
|
||||||
|
|
||||||
TiXmlDocument& xml = _retrieveSkeletalXML(file);
|
TiXmlDocument& xml = _retrieveSkeletalXML(file);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue