From 78f2d9940aafb52249ba67a103700a454b7da42a Mon Sep 17 00:00:00 2001 From: Greg Rynkowski Date: Fri, 8 Dec 2017 09:23:08 +0000 Subject: [PATCH] Fix typo in the SkeletonAnimation::createWithFile (#18542) --- cocos/editor-support/spine/SkeletonAnimation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/editor-support/spine/SkeletonAnimation.h b/cocos/editor-support/spine/SkeletonAnimation.h index be6adcc524..fc7f163cae 100644 --- a/cocos/editor-support/spine/SkeletonAnimation.h +++ b/cocos/editor-support/spine/SkeletonAnimation.h @@ -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); }