Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5884


Ignore:
Timestamp:
Oct 5, 2009, 11:20:42 PM (15 years ago)
Author:
landauf
Message:

fixed a bug in ParticleSpawner which caused it to spawn particles in the first tick even though autostart was set to false.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/graphics/ParticleSpawner.cc

    r5879 r5884  
    9191
    9292        if (this->bForceDestroy_ || this->bSuppressStart_)
     93        {
     94            this->timer_.stopTimer();
    9395            return;
     96        }
    9497
    9598        this->timer_.setTimer(this->startdelay_, false, createExecutor(createFunctor(&ParticleSpawner::fireParticleSpawner, this)));
Note: See TracChangeset for help on using the changeset viewer.