Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2015, 5:09:15 PM (9 years ago)
Author:
landauf
Message:

removed unnecessary macro + static variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/modules/weapons/projectiles/ParticleProjectile.cc

    r9667 r10411  
    5454            this->particles_->setKeepParticlesInLocalSpace(0);
    5555
    56             this->particles_->getAllEmitters()->setDirection(-WorldEntity::FRONT);
     56            for (unsigned int i = 0; i < this->particles_->getNumEmitters(); ++i)
     57                this->particles_->getEmitter(i)->setDirection(-WorldEntity::FRONT);
    5758        }
    5859        else
Note: See TracChangeset for help on using the changeset viewer.