Fix typo in the SkeletonAnimation::createWithFile (#18542)

This commit is contained in:
Greg Rynkowski 2017-12-08 09:23:08 +00:00 committed by minggo
parent f77f724caa
commit 78f2d9940a
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public:
return SkeletonAnimation::createWithJsonFile(skeletonJsonFile, atlas, scale);
}
// Use createWithJsonFile instead
CC_DEPRECATED_ATTRIBUTE static SkeletonAnimation* createWithile (const std::string& skeletonJsonFile, const std::string& atlasFile, float scale = 1)
CC_DEPRECATED_ATTRIBUTE static SkeletonAnimation* createWithFile (const std::string& skeletonJsonFile, const std::string& atlasFile, float scale = 1)
{
return SkeletonAnimation::createWithJsonFile(skeletonJsonFile, atlasFile, scale);
}