From edaf2cf269ad06b2d9199e9e49c0d620001a8fbb Mon Sep 17 00:00:00 2001 From: Nicholas Kostelnik Date: Tue, 31 Jan 2012 09:57:58 +0000 Subject: [PATCH] fixed issue with CCEaseBackInOut being erratic on the second stage of the transititon --- cocos2dx/actions/CCActionEase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/actions/CCActionEase.cpp b/cocos2dx/actions/CCActionEase.cpp index c03bf33ad0..248472f9cb 100644 --- a/cocos2dx/actions/CCActionEase.cpp +++ b/cocos2dx/actions/CCActionEase.cpp @@ -1394,7 +1394,7 @@ namespace cocos2d { else { time = time - 2; - m_pOther->update((time * time * ((overshoot + 1) + overshoot)) / 2 + 1); + m_pOther->update((time * time * ((overshoot + 1) * time + overshoot)) / 2 + 1); } } }