We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
ActionObject's total time is always 0
ActionObject's total time is always 0
Bug #3697 [Closed]
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
Status: | Closed | |
---|---|---|
Start date: | 2014-01-14 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | all | |
Target version: | - |
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 befTotalTime=maxLength*_fUnitTime;