mirror of https://github.com/axmolengine/axmol.git
Fix ParticleSystem::_paused varible isn't initialized. Particle will show or hide after being created randomly.
This commit is contained in:
parent
9fd190d283
commit
09d5fd3f90
|
@ -219,6 +219,7 @@ ParticleSystem::ParticleSystem()
|
|||
, _opacityModifyRGB(false)
|
||||
, _yCoordFlipped(1)
|
||||
, _positionType(PositionType::FREE)
|
||||
, _paused(false)
|
||||
{
|
||||
modeA.gravity.setZero();
|
||||
modeA.speed = 0;
|
||||
|
|
Loading…
Reference in New Issue