Merge pull request #15480 from mogemimi/remove-unary-operator

Remove incorrect unary operator to fix warnings
This commit is contained in:
minggo 2016-04-21 15:42:29 +08:00
commit 2c75a4cf39
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ bool ShakyTiles3D::initWithDuration(float duration, const Size& gridSize, int ra
ShakyTiles3D* ShakyTiles3D::clone() const
{
// no copy constructor
return ShakyTiles3D::create(_duration, _gridSize, _randrange, -_shakeZ);
return ShakyTiles3D::create(_duration, _gridSize, _randrange, _shakeZ);
}
void ShakyTiles3D::update(float time)