Browse Source

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

Greg Rynkowski 7 years ago
parent
commit
97dd5ab8df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-cocos2dx/src/spine/SkeletonAnimation.h

+ 1 - 1
spine-cocos2dx/src/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);
 	}