1
0
Fork 0
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:
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"; 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);