diff --git a/cocos2d/actions/CCAction.js b/cocos2d/actions/CCAction.js index 96c5ea976a..818737a456 100644 --- a/cocos2d/actions/CCAction.js +++ b/cocos2d/actions/CCAction.js @@ -367,7 +367,7 @@ cc.Follow = cc.Action.extend(/** @lends cc.Follow# */{ rect = rect || cc.RectZero(); this._followedNode = followedNode; - this._boundarySet = cc.Rect.CCRectEqualToRect(rect, cc.RectZero()); + this._boundarySet = !cc.Rect.CCRectEqualToRect(rect, cc.RectZero()); this._boundaryFullyCovered = false; diff --git a/cocos2d/label_nodes/CCLabelAtlas.js b/cocos2d/label_nodes/CCLabelAtlas.js index ef25cad437..daedfe86b4 100644 --- a/cocos2d/label_nodes/CCLabelAtlas.js +++ b/cocos2d/label_nodes/CCLabelAtlas.js @@ -54,7 +54,8 @@ cc.LabelAtlas = cc.AtlasNode.extend(/** @lends cc.LabelAtlas# */{ textureFilename = arg[1]; width = arg[2]; height = arg[3]; - startChar = String.fromCharCode(arg[4]); + //startChar = String.fromCharCode(arg[4]); + startChar = arg[4]; cc.Assert(label !== null, "Label must be non-nil"); }