From 806398519ac2588945b188f44ef4709a282a68d0 Mon Sep 17 00:00:00 2001 From: ivzave Date: Tue, 15 Jan 2013 00:49:05 +0400 Subject: [PATCH] repair CCTransitionSplitCols & CCTransitionSplitRows --- cocos2dx/layers_scenes_transitions_nodes/CCTransition.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2dx/layers_scenes_transitions_nodes/CCTransition.cpp b/cocos2dx/layers_scenes_transitions_nodes/CCTransition.cpp index 529aa52453..63de66f981 100644 --- a/cocos2dx/layers_scenes_transitions_nodes/CCTransition.cpp +++ b/cocos2dx/layers_scenes_transitions_nodes/CCTransition.cpp @@ -1444,7 +1444,7 @@ void CCTransitionSplitCols::onEnter() CCActionInterval* CCTransitionSplitCols:: action() { - return CCSplitCols::create(3, m_fDuration/2.0f); + return CCSplitCols::create(m_fDuration/2.0f, 3); } @@ -1467,7 +1467,7 @@ CCTransitionSplitRows::~CCTransitionSplitRows() CCActionInterval* CCTransitionSplitRows::action() { - return CCSplitRows::create(3, m_fDuration/2.0f); + return CCSplitRows::create(m_fDuration/2.0f, 3); } CCTransitionSplitRows* CCTransitionSplitRows::create(float t, CCScene* scene)