mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15480 from mogemimi/remove-unary-operator
Remove incorrect unary operator to fix warnings
This commit is contained in:
commit
2c75a4cf39
|
@ -70,7 +70,7 @@ bool ShakyTiles3D::initWithDuration(float duration, const Size& gridSize, int ra
|
||||||
ShakyTiles3D* ShakyTiles3D::clone() const
|
ShakyTiles3D* ShakyTiles3D::clone() const
|
||||||
{
|
{
|
||||||
// no copy constructor
|
// no copy constructor
|
||||||
return ShakyTiles3D::create(_duration, _gridSize, _randrange, -_shakeZ);
|
return ShakyTiles3D::create(_duration, _gridSize, _randrange, _shakeZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShakyTiles3D::update(float time)
|
void ShakyTiles3D::update(float time)
|
||||||
|
|
Loading…
Reference in New Issue