We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03dd8d9 commit ed2eab5Copy full SHA for ed2eab5
cocos/2d/CCActionInterval.cpp
@@ -89,7 +89,7 @@ void ExtraAction::step(float /*dt*/)
89
bool ActionInterval::initWithDuration(float d)
90
{
91
92
- _duration = abs(d) <= MATH_EPSILON ? MATH_EPSILON : d;
+ _duration = std::abs(d) <= MATH_EPSILON ? MATH_EPSILON : d;
93
_elapsed = 0;
94
_firstTick = true;
95
_done = false;
0 commit comments