Fix ParticleSystem::_paused varible isn't initialized. Particle will show or hide after being created randomly.

This commit is contained in:
James Chen 2016-06-22 16:54:57 +08:00
parent 9fd190d283
commit 09d5fd3f90
1 changed files with 1 additions and 0 deletions

View File

@ -219,6 +219,7 @@ ParticleSystem::ParticleSystem()
, _opacityModifyRGB(false)
, _yCoordFlipped(1)
, _positionType(PositionType::FREE)
, _paused(false)
{
modeA.gravity.setZero();
modeA.speed = 0;