diff --git a/spine-cocos2dx/src/spine/CCSkeleton.h b/spine-cocos2dx/src/spine/CCSkeleton.h index 275c2fc79..0dea58b9c 100644 --- a/spine-cocos2dx/src/spine/CCSkeleton.h +++ b/spine-cocos2dx/src/spine/CCSkeleton.h @@ -60,7 +60,7 @@ public: protected: CCSkeleton (); - void CCSkeleton::setSkeletonData (SkeletonData *skeletonData, bool ownsSkeletonData); + void setSkeletonData (SkeletonData *skeletonData, bool ownsSkeletonData); private: bool ownsSkeletonData; diff --git a/spine-libgdx/src/com/esotericsoftware/spine/SkeletonJson.java b/spine-libgdx/src/com/esotericsoftware/spine/SkeletonJson.java index 69085f443..49d0ddc1c 100644 --- a/spine-libgdx/src/com/esotericsoftware/spine/SkeletonJson.java +++ b/spine-libgdx/src/com/esotericsoftware/spine/SkeletonJson.java @@ -222,7 +222,7 @@ public class SkeletonJson { duration = Math.max(duration, timeline.getFrames()[timeline.getFrameCount() * 3 - 3]); } else - throw new RuntimeException("Invalid timeline type for a bone: " + timelineName + " (" + timelineMap.name() + ")"); + throw new RuntimeException("Invalid timeline type for a bone: " + timelineName + " (" + boneMap.name() + ")"); } } @@ -259,7 +259,7 @@ public class SkeletonJson { duration = Math.max(duration, timeline.getFrames()[timeline.getFrameCount() - 1]); } else - throw new RuntimeException("Invalid timeline type for a slot: " + timelineName + " (" + timelineMap.name() + ")"); + throw new RuntimeException("Invalid timeline type for a slot: " + timelineName + " (" + slotMap.name() + ")"); } }