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 2 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;

walzer@cocos2d-x.org 2014-10-08 02:54

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

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8312

Atom PDF

Status:Closed
Start date:2014-01-14
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:all
Target version:-

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