1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-24 13:45:47 +00:00

More filename case fixes for linux (skeletal + skin)

This commit is contained in:
fgenesis 2012-05-25 18:23:30 +02:00
parent 77c9b86235
commit fdce574cc5

View file

@ -1169,7 +1169,7 @@ void SkeletalSprite::loadSkin(const std::string &fn)
file = animationPath + skinPath + fn + ".xml";
}
stringToLower(file);
file = core->adjustFilenameCase(file);
if (!exists(file,1))
{
@ -1306,6 +1306,8 @@ void SkeletalSprite::loadSkeletal(const std::string &fn)
return;
}
file = core->adjustFilenameCase(file);
loaded = true;
TiXmlDocument& xml = _retrieveSkeletalXML(file);