diff --git a/samples/TestCpp/Classes/PerformanceTest/PerformanceSpriteTest.cpp b/samples/TestCpp/Classes/PerformanceTest/PerformanceSpriteTest.cpp index 1452f71e5e..b0a3804b9a 100644 --- a/samples/TestCpp/Classes/PerformanceTest/PerformanceSpriteTest.cpp +++ b/samples/TestCpp/Classes/PerformanceTest/PerformanceSpriteTest.cpp @@ -421,7 +421,7 @@ void performanceActions(CCSprite* pSprite) float growDuration = 0.5f + (rand() % 1000) / 500.0f; CCActionInterval *grow = CCScaleBy::create(growDuration, 0.5f, 0.5f); - CCAction *permanentScaleLoop = CCRepeatForever::create((CCActionInterval *)CCSequence::create(grow, grow->reverse())); + CCAction *permanentScaleLoop = CCRepeatForever::create((CCActionInterval *)CCSequence::create(grow, grow->reverse(), NULL)); pSprite->runAction(permanentScaleLoop); }