diff --git a/core/2d/CCParticleSystemQuad.cpp b/core/2d/CCParticleSystemQuad.cpp index dadeb9d680..515e9e897f 100644 --- a/core/2d/CCParticleSystemQuad.cpp +++ b/core/2d/CCParticleSystemQuad.cpp @@ -435,6 +435,8 @@ void ParticleSystemQuad::updateParticleQuads() } else { + // TODO: index.isRotated should be treated accordingly + auto& index = _animationIndices.at(*cellIndex); auto texWidth = _texture->getPixelsWide();