Projects > cpp > Issues > Bug #3697

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

ActionObject's total time is always 0

Bug #3697 [Closed]
26_terry 2014-01-14 04:55 . Updated about 4 years ago

in void ActionObject::initWithDictionary(const rapidjson::Value& dic, Object* root)

total time is calculated in last line:
fTotalTime = maxLength\*fTotalTime;

causing fTotalTime always be zero.
It should be
fTotalTime=maxLength*_fUnitTime; 2014-10-08 02:54

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to

Atom PDF

Start date:2014-01-14
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.