From 2bee31ad2ac8d43ffb933a4dd602582196ea0a6d Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Tue, 30 Apr 2013 12:18:23 +0200 Subject: [PATCH] Minor updates. --- spine-cocos2dx/src/spine/CCSkeleton.h | 2 +- spine-libgdx/src/com/esotericsoftware/spine/SkeletonJson.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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() + ")"); } }