diff --git a/BBGE/SkeletalSprite.cpp b/BBGE/SkeletalSprite.cpp index 9bf8afc..63a0976 100644 --- a/BBGE/SkeletalSprite.cpp +++ b/BBGE/SkeletalSprite.cpp @@ -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);